1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00

Deleted /resetdb which was no longer usable the way it was meant to

This commit is contained in:
Alban 2012-11-24 19:00:23 +01:00
parent 6b2a5f5cec
commit f5f1382c44

6
web.py
View File

@ -51,12 +51,6 @@ def index():
}
return render_template('home.html', stats = stats, admin = UserManager.get(session.get('userid'))[1].admin)
@app.route('/resetdb')
def reset_db():
if UserManager.get(session.get('userid'))[1].admin:
db.recreate_db()
return redirect(url_for('index'))
import user
import folder