From 4948d6564a1e39088395941c593c473fd193434d Mon Sep 17 00:00:00 2001 From: Neythen Treloar Date: Sun, 6 Mar 2022 09:48:54 +0000 Subject: [PATCH] bug fix --- setup_config_files.sh | 3 ++- stockTicker.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/setup_config_files.sh b/setup_config_files.sh index 2d4fb83..f4c714a 100755 --- a/setup_config_files.sh +++ b/setup_config_files.sh @@ -39,7 +39,7 @@ echo '{"feature": "News", "speed": "medium", "animation": "down", "country": "US echo '{"speed": "slow", "animation": "down", "title": true, "pause": "/", "images": []}' >> image_settings.json echo '{"feature": "Sports (Past Games)", "speed": "medium", "animation": "down", "title": true, "leagues": {}}' >> past_games.json echo '{"brightness": 10, "country_code": "GB", "hostname": "fintic"}' >> general_settings.json - +chmod 777 * @@ -72,6 +72,7 @@ touch 'daily_weather.ppm' touch 'display_gif.gif' touch 'display_gif.ppm' touch 'display_image.ppm' +chmod 777 * cd .. diff --git a/stockTicker.py b/stockTicker.py index 9609a2c..6233e10 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -2754,7 +2754,7 @@ if __name__ == '__main__': #stock_ticker.process_msg('*') #time.sleep(8) - #stock_ticker.process_msg('-') + stock_ticker.process_msg('-') #stock_ticker.process_msg('W') #stock_ticker.process_msg('A') @@ -2764,7 +2764,7 @@ if __name__ == '__main__': msg = getInput() stock_ticker.process_msg(msg) except Exception as e: - + raise e exc_type, exc_obj, exc_tb = sys.exc_info() fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] log.write(str(e))