#4 KeyError: 'add_to_downloads_folder'

Затворено
отворено пре 3 година од herbert · 1 коментара
herbert коментирира пре 3 година

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 коментирира пре 3 година
Власник

fixed in latest commit now

fixed in latest commit now
Пријавите се да се прикључе у овом разговору.
Нема лабеле
Нема фазе
No Assignees
2 учесника
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Још нема садржаја.