diff --git a/display_images/Crypto.ppm b/display_images/Crypto.ppm index ecc1327..52a78ba 100755 Binary files a/display_images/Crypto.ppm and b/display_images/Crypto.ppm differ diff --git a/server.py b/server.py index c08fa58..a762d87 100644 --- a/server.py +++ b/server.py @@ -1,9 +1,9 @@ -# Copyright (C) 2020 Daniel Richardson richardson.daniel@hotmail.co.uk +# Copyright (C) 2021 Neythen Treloar neythen@fintic.io # # This file is part of stockTicker project for justinodunn. # # stockTicker can not be copied and/or distributed without the express -# permission of Daniel Richardson +# permission of Neythen Treloar from flask import Flask, render_template, request from stockTicker import StockTicker @@ -20,7 +20,7 @@ from subprocess import Popen, PIPE import numpy as np #stock_ticker = StockTicker() #print('API CALLER NOT STARTED') -api_caller = pexpect.spawn("sudo -E python3 api_caller.py") +api_caller = pexpect.spawn("sudo -E taskset -c 3 python3 api_caller.py") displaying_screensaver = False screensaver_p = None professional = json.load(open('csv/display_settings.json', 'r'))[0] == "Professional" @@ -35,7 +35,7 @@ LOGO_FOLDER = 'logos/' CSV_FOLDER = 'csv/new/' ALLOWED_EXTENSIONS = {'csv', 'png'} -ticker = pexpect.spawn("sudo -E taskset -c 3 python3 stockTicker.py") +ticker = pexpect.spawn("sudo -E python3 stockTicker.py") ticker.sendline('*') # run by default ticker.sendline('A') # run by default