#4 KeyError: 'add_to_downloads_folder'

Cerrada
abierta hace 3 años por herbert · 1 comentarios
herbert comentado hace 3 años

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 comentado hace 3 años
Propietario

fixed in latest commit now

fixed in latest commit now
sharky555 cerró esta incidencia hace 3 años
Inicie sesión para unirse a esta conversación.
Sin etiquetas
Sin Milestone
No asignados
2 participantes
Notificaciones
Fecha de vencimiento

Sin fecha de vencimiento.

Dependencias

Esta incidencia actualmente no tiene ninguna dependencia.

Cargando…
Aún no existe contenido.