We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf26e01 + 5dce3f9 commit a35bb41Copy full SHA for a35bb41
1 file changed
beets/ui/__init__.py
@@ -902,7 +902,7 @@ def _open_library(config: confuse.LazyConfig) -> library.Library:
902
return lib
903
904
905
-def _raw_main(args: list[str]) -> None:
+def _raw_main(args: list[str] | None) -> None:
906
"""A helper function for `main` without top-level exception
907
handling.
908
"""
@@ -993,7 +993,7 @@ def parse_csl_callback(
993
lib._close()
994
995
996
-def main(args: list[str]) -> None:
+def main(args: list[str] | None = None) -> None:
997
"""Run the main command-line interface for beets. Includes top-level
998
exception handlers that print friendly error messages.
999
0 commit comments