From 751688ab3fb697f9643b08881f8a3f6c7c843bba Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Sun, 3 May 2020 19:40:06 +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 85a06aa..466c450 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: + if type(glo[key]) is not type and key == "TargetFactory": continue target = glo[key]