Skip to content

Commit

Permalink
Fix error message when renaming while queued
Browse files Browse the repository at this point in the history
  • Loading branch information
n00b42 authored and vicwomg committed Sep 23, 2024
1 parent 50a15e7 commit 6e648bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pikaraoke/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 6e648bf

Please sign in to comment.