#4 KeyError: 'add_to_downloads_folder'

Suljettu
3 vuotta sitten avasi herbert · 1 kommenttia

When executing it throws an error at the end because it’s trying to access add_to_downloads_folder which is not included in the config.json aswell as commented out everywhere else in the code.

Traceback (most recent call last):
  File "P:\_projects\_python\_other\sm-au-tv\upload.py", line 511, in <module>
    if cfg['local_prefs']['add_to_watch_folder'] or cfg['local_prefs']['add_to_downloads_folder']:
KeyError: 'add_to_downloads_folder'
When executing it throws an error at the end because it's trying to access `add_to_downloads_folder` which is not included in the config.json aswell as commented out everywhere else in the code. ``` Traceback (most recent call last): File "P:\_projects\_python\_other\sm-au-tv\upload.py", line 511, in <module> if cfg['local_prefs']['add_to_watch_folder'] or cfg['local_prefs']['add_to_downloads_folder']: KeyError: 'add_to_downloads_folder' ```
sharky555 kommentoi 3 vuotta sitten
Omistaja

fixed in latest commit now

fixed in latest commit now
sharky555 sulki tämän ongelman 3 vuotta sitten
Sign in to join this conversation.
Ei tunnistetta
Ei merkkipaalua
Ei käsittelijää
2 osallistujaa
Ilmoitukset
Määräpäivä

Määräpäivää ei asetettu.

Riippuvuudet

This issue currently doesn't have any dependencies.

Ladataan…
Sisältöä ei vielä ole.