diff --git a/factories/TargetFactory.py b/factories/TargetFactory.py index 16b07ff..f57f4f5 100644 --- a/factories/TargetFactory.py +++ b/factories/TargetFactory.py @@ -9,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]) is type: + if type(glo[key]) is not type: continue target = glo[key]