Skip to content

Commit

Permalink
fix default playlist creation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiko2k committed Jan 9, 2025
1 parent 5160723 commit 71c7bba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41710,8 +41710,9 @@ def hit_callback(win, point, data):
power = 0

for item in sys.argv:
if (os.path.isdir(item) or os.path.isfile(
item) or "file://" in item) and ".py" not in item and "tauon.exe" not in item:
if (os.path.isdir(item) or os.path.isfile(item) or "file://" in item) \
and not item.endswith(".py") and not item.endswith("tauon.exe") and not item.endswith("tauonmb") \
and not item.startswith("-"):
open_uri(item)

sv = SDL_version()
Expand Down

0 comments on commit 71c7bba

Please sign in to comment.