web interface bug fix
This commit is contained in:
parent
29d046b45f
commit
52b657322a
@ -133,6 +133,7 @@ def playlist():
|
|||||||
@web.route("/post", methods=['POST'])
|
@web.route("/post", methods=['POST'])
|
||||||
@requires_auth
|
@requires_auth
|
||||||
def post():
|
def post():
|
||||||
|
music_library = util.Dir(folder_path)
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
logging.debug("Post request: "+ str(request.form))
|
logging.debug("Post request: "+ str(request.form))
|
||||||
if 'add_file_bottom' in request.form and ".." not in request.form['add_file_bottom']:
|
if 'add_file_bottom' in request.form and ".." not in request.form['add_file_bottom']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user