mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-07-06 17:14:07 +00:00
Fix
This commit is contained in:
7
main.py
7
main.py
@ -251,8 +251,11 @@ def _dynamic():
|
||||
@app.route('/sync', methods=['GET', 'POST'])
|
||||
def sync():
|
||||
if request.method == 'GET':
|
||||
with open('sync.log', 'r') as file:
|
||||
lines = file.readlines()
|
||||
try:
|
||||
with open('sync.log', 'r') as file:
|
||||
lines = file.readlines()
|
||||
except:
|
||||
lines = []
|
||||
return render_template(
|
||||
'sync.html',
|
||||
SERVERS=SERVERS,
|
||||
|
Reference in New Issue
Block a user