diff --git a/SpiceBot/SpiceBotCore/__init__.py b/SpiceBot/SpiceBotCore/__init__.py index 8374845..9618648 100644 --- a/SpiceBot/SpiceBotCore/__init__.py +++ b/SpiceBot/SpiceBotCore/__init__.py @@ -12,5 +12,5 @@ class SpiceBotCore_OBJ(): Quick and dirty shortcuts. Will only get called for undefined attributes. """ - if hasattr(self.fhdhr, name): - return eval("self.fhdhr.%s" % name) + if hasattr(self, name): + return eval("self.%s" % name)