From a26136568280004ad2568772987f71f5cd96c347 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Wed, 13 Jan 2021 10:31:37 -0600 Subject: [PATCH] Fixed some stuff in main controller. Likes work again --- src/controller/mainController.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index ec605f68..05205489 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -564,7 +564,7 @@ class Controller(object): buff.session.db["lists"].pop(older_list) buff.session.db["lists"].append(list) except TweepError as e: - output.speak("error %s: %s" % (e.error_code, e.reason)) + output.speak("error %s: %s" % (e.api_code, e.reason)) def remove_from_list(self, *args, **kwargs): buff = self.get_best_buffer() @@ -592,7 +592,7 @@ class Controller(object): buff.session.db["lists"].pop(older_list) buff.session.db["lists"].append(list) except TweepError as e: - output.speak("error %s: %s" % (e.error_code, e.reason)) + output.speak("error %s: %s" % (e.api_code, e.reason)) def list_manager(self, *args, **kwargs): s = self.get_best_buffer().session