web interface bug fix

This commit is contained in:
Terry Geng 2020-02-05 15:28:50 +08:00
parent 29d046b45f
commit 52b657322a

View File

@ -133,6 +133,7 @@ def playlist():
@web.route("/post", methods=['POST'])
@requires_auth
def post():
music_library = util.Dir(folder_path)
if request.method == 'POST':
logging.debug("Post request: "+ str(request.form))
if 'add_file_bottom' in request.form and ".." not in request.form['add_file_bottom']: