[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-05-30 07:03:27 +00:00
parent fb3ed6b39a
commit faa0379b89
2 changed files with 2 additions and 9 deletions

View File

@@ -164,11 +164,6 @@ def main(config, debug: bool) -> None:
== "n" == "n"
) )
config.auto_play = ( config.auto_play = not input("Do you want to enable autoplay? (y/n) ") == "n"
not input(
"Do you want to enable autoplay? (y/n) "
)
== "n"
)
print("Config finished") print("Config finished")
config.save() config.save()

View File

@@ -858,9 +858,7 @@ class AutoPlayManager(Vertical):
def compose(self) -> ComposeResult: def compose(self) -> ComposeResult:
yield Label("Autoplay", classes="title") yield Label("Autoplay", classes="title")
yield Label( yield Label(
( "This feature allows you to enable/disable autoplay",
"This feature allows you to enable/disable autoplay"
),
classes="subtitle", classes="subtitle",
id="autoplay-subtitle", id="autoplay-subtitle",
) )