font size increased and all font options added
This commit is contained in:
@@ -44,9 +44,8 @@ def process_file(path, filename):
|
||||
for row in new_csv:
|
||||
default_csv.writerow(row)
|
||||
|
||||
def ShutdownPI():
|
||||
print('SHUTTING DOWN')
|
||||
os.system("sudo shutdown now")
|
||||
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
@app.route("/", methods=['GET', 'POST'])
|
||||
@@ -144,7 +143,7 @@ def matrix():
|
||||
#child.sendline('sent from server')
|
||||
|
||||
#process = Popen(["sudo", "-E", "python3", "stockTicker.py"], stdin=PIPE, stdout=PIPE, stderr=PIPE)
|
||||
child.sendline('R')
|
||||
child.sendline('S')
|
||||
|
||||
print('back in flask')
|
||||
|
||||
@@ -163,7 +162,7 @@ def matrix():
|
||||
pass
|
||||
try:
|
||||
LastCommand = 'shutdown'
|
||||
ShutdownPI()
|
||||
os.system("sudo shutdown now")
|
||||
except:
|
||||
print("couldn't shutdown")
|
||||
return hello()
|
||||
|
Reference in New Issue
Block a user