list: fix bug
This commit is contained in:
parent
8e65b6280d
commit
a0d8947d6b
|
|
@ -8,7 +8,7 @@ from bot.helper.telegram_helper.bot_commands import BotCommands
|
||||||
@run_async
|
@run_async
|
||||||
def list_drive(update, context):
|
def list_drive(update, context):
|
||||||
message = update.message.text
|
message = update.message.text
|
||||||
search = message.split(' ')[1]
|
search = message.replace('/list ','')
|
||||||
LOGGER.info(f"Searching: {search}")
|
LOGGER.info(f"Searching: {search}")
|
||||||
gdrive = GoogleDriveHelper(None)
|
gdrive = GoogleDriveHelper(None)
|
||||||
msg = gdrive.drive_list(search)
|
msg = gdrive.drive_list(search)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue