Skip to content

Commit

Permalink
Fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Feb 3, 2025
1 parent 6170abc commit e22c58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26185,7 +26185,7 @@ def load_m3u(path: str) -> None:
if line.startswith("http"):
radio: RadioStation = RadioStation(
stream_url=line
title=line_title if line_title or os.path.splitext(os.path.basename(path))[0].strip()
title=line_title if line_title else os.path.splitext(os.path.basename(path))[0].strip()
)
stations.append(radio)

Expand Down

0 comments on commit e22c58c

Please sign in to comment.