From 52b657322a5302c168b90940209284aaec0abc9e Mon Sep 17 00:00:00 2001 From: Terry Geng Date: Wed, 5 Feb 2020 15:28:50 +0800 Subject: [PATCH] web interface bug fix --- interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/interface.py b/interface.py index c8cab3b..3cdd67b 100644 --- a/interface.py +++ b/interface.py @@ -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']: