From 78218834e4810b0a68c0e28df9cd59eb741d6fa9 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Tue, 9 Feb 2021 13:49:43 -0700 Subject: [PATCH] Close #45 --- functions.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions.py b/functions.py index 85d7eac..9ef27d8 100644 --- a/functions.py +++ b/functions.py @@ -106,7 +106,7 @@ _Donations can only be made in a chat directly with @simplestockbot_ else: return ( f"{['status']['indicator']}: {['status']['description']}." - + f" Please check the status page for more information. https://status.iexapis.com" + + " Please check the status page for more information. https://status.iexapis.com" ) def message_status(self): @@ -322,6 +322,8 @@ _Donations can only be made in a chat directly with @simplestockbot_ df = df.set_index("DT") return df + return pd.DataFrame() + def chart_reply(self, symbol: str): schedule.run_pending() @@ -345,6 +347,8 @@ _Donations can only be made in a chat directly with @simplestockbot_ self.charts[symbol.upper()] = df return df + return pd.DataFrame() + def stat_reply(self, symbols: list): infoMessages = {}