diff --git a/interface.py b/interface.py index 6368da4..e4e8d28 100644 --- a/interface.py +++ b/interface.py @@ -414,7 +414,7 @@ def library(): pass if not total_count: - abort(204) + return ('', 204) if request.form['action'] == 'add': items = dicts_to_items(var.bot, var.music_db.query_music(condition))