mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-18 16:53:16 +00:00
fix ruff warning in telegram_watcher
This commit is contained in:
@ -39,7 +39,7 @@ class Command(BaseCommand):
|
||||
f.write(f"Error getting updates: {e}\n{traceback.format_exc()}\n")
|
||||
continue
|
||||
|
||||
if not "result" in response or not response["result"]:
|
||||
if "result" not in response or not response["result"]:
|
||||
continue
|
||||
for result in response["result"]:
|
||||
if not result.get("message") or not result.get("message").get("text"):
|
||||
|
Reference in New Issue
Block a user