From d3175c2de7f4b51f47bcec5467cb1a5a453eee41 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 8 Jul 2025 17:07:45 +0200 Subject: [PATCH] try to fix player --- radioPlayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radioPlayer.py b/radioPlayer.py index 990c04f..ad51609 100644 --- a/radioPlayer.py +++ b/radioPlayer.py @@ -162,7 +162,7 @@ def main(): play_newest_first = False pre_track_path = None - if can_delete_file("/tmp/radioPlayer_arg") and not arg: + if can_delete_file("/tmp/radioPlayer_arg"): with open("/tmp/radioPlayer_arg", "r") as f: arg = f.read() os.remove("/tmp/radioPlayer_arg")