This commit is contained in:
Jonas Zeunert
2020-03-09 20:46:20 +01:00
parent bb4deaca25
commit 08f95c8d35

View File

@@ -8,7 +8,7 @@ class TargetFactory:
glo = globals() # Save globals so the dict does not change during execution of the script
for key in glo:
if(type(target) != 'class'):
if type(key) != 'class':
continue
target = glo[key]