diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index bca1dc8f..3aecaab3 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -442,7 +442,7 @@ class Session: except FloodWait as e: amount = e.x - if amount > sleep_threshold > 0: + if amount > sleep_threshold >= 0: raise log.warning(f'[{self.client.session_name}] Sleeping for {amount}s (required by "{query}")')