globals error
This commit is contained in:
@@ -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(key) != 'class':
|
||||
if type(glo[key]) != 'class':
|
||||
continue
|
||||
|
||||
target = glo[key]
|
||||
|
||||
Reference in New Issue
Block a user