bot
commited on
Commit
·
fce8bfb
1
Parent(s):
ed33a7a
Fix
Browse files
main.py
CHANGED
@@ -330,6 +330,10 @@ async def perform_file_action(
|
|
330 |
update: Update, context: CallbackContext, action: str, file_id: str
|
331 |
):
|
332 |
if action == "list_file":
|
|
|
|
|
|
|
|
|
333 |
files = await THUNDERX_CLIENT.file_list(100, file_id, "", {})
|
334 |
keyboard = []
|
335 |
|
|
|
330 |
update: Update, context: CallbackContext, action: str, file_id: str
|
331 |
):
|
332 |
if action == "list_file":
|
333 |
+
|
334 |
+
if file_id is None:
|
335 |
+
file_id = ""
|
336 |
+
|
337 |
files = await THUNDERX_CLIENT.file_list(100, file_id, "", {})
|
338 |
keyboard = []
|
339 |
|