Skip to content

Commit

Permalink
fix: unable to publish any song caused by abscense of brackets in app…
Browse files Browse the repository at this point in the history
…ropriate statement
  • Loading branch information
Dzheremi2 committed Dec 10, 2024
1 parent 4c1aac9 commit a84ef86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lrcmake/methods/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def solve_challenge(prefix, target_hex):
return str(nonce)

def do_publish(*args):
if shared.win.title or shared.win.artist or eyed3.load(shared.win.filepath).tag.album == "Unknown":
if (shared.win.title or shared.win.artist or eyed3.load(shared.win.filepath).tag.album) == "Unknown":
toast = Adw.Toast(title=_("Some of Title, Artist and/or Album fileds are Unknown!")) # type: ignore
shared.win.toast_overlay.add_toast(toast)
shared.win.export_lyrics.set_icon_name("export-to-symbolic")
Expand Down

0 comments on commit a84ef86

Please sign in to comment.