Skip to content

Commit

Permalink
Make options constant a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
twodoorcoupe committed Mar 1, 2024
1 parent d0f2501 commit f9001b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/post_tagging_actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
# Settings.
CANCEL = "pta_cancel"
MAX_WORKERS = "pta_max_workers"
OPTIONS = ["pta_command", "pta_wait_for_exit", "pta_execute_for_tracks", "pta_refresh_tags"]
OPTIONS = ("pta_command", "pta_wait_for_exit", "pta_execute_for_tracks", "pta_refresh_tags")

Options = namedtuple("Options", ("variables", *[option[4:] for option in OPTIONS]))
Action = namedtuple("Action", ("commands", "album", "options"))
Expand Down

0 comments on commit f9001b6

Please sign in to comment.