From 08f95c8d35d5a12b37be81e50eec1f8c8d7c4269 Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Mon, 9 Mar 2020 20:46:20 +0100 Subject: [PATCH] typo --- factories/TargetFactory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factories/TargetFactory.py b/factories/TargetFactory.py index 024adff..d5b8157 100644 --- a/factories/TargetFactory.py +++ b/factories/TargetFactory.py @@ -8,7 +8,7 @@ class TargetFactory: glo = globals() # Save globals so the dict does not change during execution of the script for key in glo: - if(type(target) != 'class'): + if type(key) != 'class': continue target = glo[key]