remove factory from targets

This commit is contained in:
Jonas Zeunert
2020-05-03 19:41:01 +02:00
parent 751688ab3f
commit 2b687f2413

View File

@@ -7,7 +7,7 @@ class TargetFactory:
glo = globals() # Save globals so the dict does not change during execution of the script glo = globals() # Save globals so the dict does not change during execution of the script
for key in glo: for key in glo:
if type(glo[key]) is not type and key == "TargetFactory": if type(glo[key]) is not type and "TargetFactory" in key:
continue continue
target = glo[key] target = glo[key]