remove factory from targets

This commit is contained in:
Jonas Zeunert
2020-05-03 19:42:32 +02:00
parent 2b687f2413
commit c413ff28e7

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 and "TargetFactory" in key:
if type(glo[key]) is not type or "TargetFactory" in key:
continue
target = glo[key]