This commit is contained in:
Jonas Zeunert
2020-03-12 00:43:21 +01:00
parent e12d4c6630
commit 6c1ee2374a

View File

@@ -11,9 +11,9 @@ class TargetFactory:
continue continue
target = glo[key] target = glo[key]
if 'Target' in key and 'Bank' not in key and key not in ['Target', 'BankTarget']: if 'Target' in key and 'Bank' not in key and key is not ['Target', 'BankTarget']:
result[key] = target() result[key] = target()
elif 'Bank' in key and 'Target' not in key: elif 'Bank' in key and 'Target' not in key and key is not 'BankTarget':
targets = TargetFactory.createBankTarget(target, key) targets = TargetFactory.createBankTarget(target, key)
result.update(targets) result.update(targets)
# todo check with driver? # todo check with driver?