diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2019-06-20 16:50:56 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2019-06-20 16:50:56 -0300 |
commit | 7a2b72bc8c97f8f8d9c328c96d9c8ea8c4eeabf4 (patch) | |
tree | d46bc05f25049358bd122fae7a27a4aab7e7509c | |
parent | 0e27c8baf4f99a8b0bdc52b0d03aba0e49ad95d0 (diff) |
Fix crash when loading multiple configs
-rwxr-xr-x | ganarchy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ganarchy.py b/ganarchy.py index c2e59f2..32add6f 100755 --- a/ganarchy.py +++ b/ganarchy.py @@ -447,7 +447,8 @@ class Config: self.blocked_domain_suffixes = tuple(self.blocked_domain_suffixes) # MUST be tuple # TODO re.compile("(^" + "|^".join(map(re.escape, domains)) + "|" + "|".join(map(re.escape, suffixes) + ")$") if base: - self._update_projects(base.projects, sanitize=False) # already sanitized + # FIXME is remove=remove the right thing to do? + self._update_projects(base.projects, remove=remove, sanitize=False) # already sanitized projects = config_data.get('projects', {}) self._update_projects(projects, remove=remove) |