globals error

This commit is contained in:
Jonas Zeunert
2020-03-11 23:18:01 +01:00
parent 583c361f4e
commit 178fff7886

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(key) != 'class':
if type(glo[key]) != 'class':
continue
target = glo[key]