This commit is contained in:
Neythen Treloar 2022-03-06 09:48:54 +00:00
parent 37f6c097f3
commit 4948d6564a
2 changed files with 4 additions and 3 deletions

View File

@ -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 '{"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 '{"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 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.gif'
touch 'display_gif.ppm' touch 'display_gif.ppm'
touch 'display_image.ppm' touch 'display_image.ppm'
chmod 777 *
cd .. cd ..

View File

@ -2754,7 +2754,7 @@ if __name__ == '__main__':
#stock_ticker.process_msg('*') #stock_ticker.process_msg('*')
#time.sleep(8) #time.sleep(8)
#stock_ticker.process_msg('-') stock_ticker.process_msg('-')
#stock_ticker.process_msg('W') #stock_ticker.process_msg('W')
#stock_ticker.process_msg('A') #stock_ticker.process_msg('A')
@ -2764,7 +2764,7 @@ if __name__ == '__main__':
msg = getInput() msg = getInput()
stock_ticker.process_msg(msg) stock_ticker.process_msg(msg)
except Exception as e: except Exception as e:
raise e
exc_type, exc_obj, exc_tb = sys.exc_info() exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1] fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
log.write(str(e)) log.write(str(e))