PyOne4.0 fix

master
Abbey 5 years ago committed by GitHub
parent 2668c5774b
commit 33c2ac33f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/front/views.py

@ -37,7 +37,7 @@ def index(path='A:/'):
path=urllib.unquote(path).replace('&action=play','')
if path=='favicon.ico':
return redirect('https://onedrive.live.com/favicon.ico')
if od_users.get('A').get('client_id')=='':
if GetConfig('od_users').get('A').get('client_id')=='':
resp=make_response(redirect(url_for('admin.install',step=0,user='A')))
resp.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate'
resp.headers['Pragma'] = 'no-cache'

Loading…
Cancel
Save