remove factory from targets

This commit is contained in:
Jonas Zeunert
2020-05-03 19:40:06 +02:00
parent 6f85ebe1a5
commit 751688ab3f

View File

@@ -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]