Default engines for specific cases added, +6 sites

This commit is contained in:
Soxoj
2021-01-21 22:06:39 +03:00
parent 4f3120df82
commit cb12b8cb06
2 changed files with 60 additions and 1 deletions
+2 -1
View File
@@ -117,7 +117,8 @@ class MaigretSite:
# remove list items
if isinstance(engine_data[k], list) and is_exists:
for f in engine_data[k]:
self_copy.__dict__[field].remove(f)
if f in self_copy.__dict__[field]:
self_copy.__dict__[field].remove(f)
continue
if is_exists:
del self_copy.__dict__[field]