Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

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

Open
gdsday opened this issue Sep 5, 2022 · 0 comments
Open

Comments

@gdsday
Copy link

gdsday commented Sep 5, 2022

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:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant