diff --git a/factories/TargetFactory.py b/factories/TargetFactory.py index 024adff..d5b8157 100644 --- a/factories/TargetFactory.py +++ b/factories/TargetFactory.py @@ -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]