This commit is contained in:
Jonas Zeunert
2020-03-12 00:45:49 +01:00
parent e557f306aa
commit d23dd318b7

View File

@@ -13,7 +13,7 @@ class TargetFactory:
target = glo[key]
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':
elif 'Bank' in key and 'Target' not in key and key not in ['Bank', 'BankTarget']:
targets = TargetFactory.createBankTarget(target, key)
result.update(targets)
# todo check with driver?