#4 KeyError: 'add_to_downloads_folder'

已關閉
herbert3 年之前建立 · 1 條評論

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
sharky555 closed this issue 3 年之前
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
No Assignees
2 參與者
訊息
截止日期

未設定截止日期。

Dependencies

This issue currently doesn't have any dependencies.

Loading…
尚未有任何內容