From b904a4f3e28b7ba95a605f2c64c09c73a416712e Mon Sep 17 00:00:00 2001 From: "Mr. Developer" <77911154+MrBotDeveloper@users.noreply.github.com> Date: Mon, 20 Jun 2022 15:12:11 +0530 Subject: [PATCH] Fix FAQ example (#1007) --- docs/source/faq/how-to-avoid-flood-waits.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/faq/how-to-avoid-flood-waits.rst b/docs/source/faq/how-to-avoid-flood-waits.rst index 4d2994d1..06d1cdc2 100644 --- a/docs/source/faq/how-to-avoid-flood-waits.rst +++ b/docs/source/faq/how-to-avoid-flood-waits.rst @@ -9,7 +9,7 @@ The following shows how to catch the exception in your code and wait the require .. code-block:: python - import time + import asyncio from pyrogram.errors import FloodWait ... @@ -20,4 +20,4 @@ The following shows how to catch the exception in your code and wait the require ... -More info about error handling can be found :doc:`here <../start/errors>`. \ No newline at end of file +More info about error handling can be found :doc:`here <../start/errors>`.