#4 KeyError: 'add_to_downloads_folder'

Fermé
créé il y a 3 ans par herbert · 1 commentaires
herbert a commenté il y a 3 ans

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 a commenté il y a 3 ans
Propriétaire

fixed in latest commit now

fixed in latest commit now
sharky555 a fermé ce ticket il y a 3 ans
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
Aucun jalon
Pas d'assignataires
2 participants
Notifications
Échéance

Aucune échéance n'a été définie.

Dépendances

Ce ticket n'a actuellement pas de dépendance.

Chargement…
Il n'existe pas encore de contenu.