Fixed formatting.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 27s
CI / Type Checking (push) Successful in 8s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-05-17 14:49:37 -04:00
parent 0620c675d9
commit 33cc434354
6 changed files with 12 additions and 28 deletions
+2 -3
View File
@@ -77,7 +77,7 @@ def _format_duration(timestamp_str: str, now: datetime) -> str:
return f"{hours} hour{'s' if hours != 1 else ''}"
days = seconds // 86400
return f"{days} day{'s' if days != 1 else ''}"
except (TypeError, ValueError):
except TypeError, ValueError:
return "unknown duration"
@@ -133,8 +133,7 @@ class CommandHandler:
)
except NotSubscribedError as e:
await evt.reply(
"This room is already not subscribed to "
f"notifications for {e.domain}."
f"This room is already not subscribed to notifications for {e.domain}."
)
return