From 6e648bf5b7d4dac3a219e4c59dc43193624fbee5 Mon Sep 17 00:00:00 2001 From: n00b42 Date: Tue, 17 Sep 2024 13:45:40 +0200 Subject: [PATCH] Fix error message when renaming while queued --- pikaraoke/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pikaraoke/app.py b/pikaraoke/app.py index 5e7ddd90..eaf3d6a3 100644 --- a/pikaraoke/app.py +++ b/pikaraoke/app.py @@ -474,7 +474,7 @@ def edit_file(): old_name = d["old_file_name"] if k.is_song_in_queue(old_name): # check one more time just in case someone added it during editing - flash(queue_error_msg + song_path, "is-danger") + flash(queue_error_msg + old_name, "is-danger") else: # check if new_name already exist file_extension = os.path.splitext(old_name)[1]