From 9366542aeb51f5b41bb88cf7d4cb5fa0e951cbbf Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 9 Feb 2022 12:59:45 -0500 Subject: [PATCH] test --- SpiceBot/SpiceBotCore/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)