This commit is contained in:
Jonas Zeunert
2020-03-12 00:44:49 +01:00
parent 6c1ee2374a
commit e557f306aa

View File

@@ -11,7 +11,7 @@ class TargetFactory:
continue
target = glo[key]
if 'Target' in key and 'Bank' not in key and key is not ['Target', 'BankTarget']:
if 'Target' in key and 'Bank' not in key and key not in ['Target', 'BankTarget']:
result[key] = target()
elif 'Bank' in key and 'Target' not in key and key is not 'BankTarget':
targets = TargetFactory.createBankTarget(target, key)