From c413ff28e7cb555b8d8eed3a78f13569fdd802f3 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Sun, 3 May 2020 19:42:32 +0200 Subject: [PATCH] remove factory from targets --- factories/TargetFactory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factories/TargetFactory.py b/factories/TargetFactory.py index 4171a95..8ca63f6 100644 --- a/factories/TargetFactory.py +++ b/factories/TargetFactory.py @@ -7,7 +7,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 not type and "TargetFactory" in key: + if type(glo[key]) is not type or "TargetFactory" in key: continue target = glo[key]