This commit is contained in:
Jonas Zeunert
2020-03-11 23:29:08 +01:00
parent 178fff7886
commit 19d97f47f9

View File

@@ -1,6 +1,7 @@
from targets import *
from targets.BankTarget import BankTarget
class TargetFactory:
@staticmethod
def createAllTargets():
@@ -8,7 +9,7 @@ class TargetFactory:
glo = globals() # Save globals so the dict does not change during execution of the script
for key in glo:
if type(glo[key]) != 'class':
if type(glo[key]) is type:
continue
target = glo[key]