KangersHub/TorrentLeechX

section = config.sections()[0] IndexError: list index out of range

Opened this issue · 0 comments

05-Sep-22 07:03:45 - ERROR - list index out of range [dispatcher.py:235]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 222, in handler_worker
    await handler.callback(self.client, *args)
  File "/usr/src/bot/tobrot/plugins/choose_rclone_config.py", line 35, in rclone_command_f
    section = config.sections()[0]
IndexError: list index out of range

[oD_1ove]
type = onedrive
token = {"access_token":"mytoken","expiry":"2022-03-01T19:05:30.6667193-08:00"}
drive_id = mydrive_id
drive_type = business
...
this is the first one in my rclone.conf, idk what I did wrong tho, can you help? Thanks:)