mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-18 21:07:52 +00:00
Update to flask 2.0
This commit is contained in:
parent
ab0082dfcc
commit
a2a323cdb8
@ -1,12 +1,12 @@
|
||||
click==7.1.2
|
||||
Flask==1.1.2
|
||||
itsdangerous==1.1.0
|
||||
Jinja2==2.11.2
|
||||
Flask==2.0.0
|
||||
itsdangerous==2.0.0
|
||||
Jinja2==3.0.0
|
||||
machfs==1.2.4
|
||||
macresources==1.2
|
||||
MarkupSafe==1.1.1
|
||||
MarkupSafe==2.0.0
|
||||
rsrcfork==1.8.0
|
||||
waitress==1.4.4
|
||||
Werkzeug==1.0.1
|
||||
Werkzeug==2.0.0
|
||||
zope.event==4.5.0
|
||||
zope.interface==5.1.2
|
||||
|
@ -55,7 +55,7 @@ def config_save():
|
||||
with open(file_name, "w") as csv_file:
|
||||
writer = csv.writer(csv_file)
|
||||
for device in list_devices():
|
||||
if device["type"] is not "-":
|
||||
if device["type"] != "-":
|
||||
writer.writerow(device.values())
|
||||
flash(f"Saved config to {file_name}!")
|
||||
return redirect(url_for("index"))
|
||||
|
Loading…
Reference in New Issue
Block a user