We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd3fc3f commit 0d314d0Copy full SHA for 0d314d0
ydl_server/ydlhandler.py
@@ -58,7 +58,7 @@ def reload_youtube_dl():
58
importlib.reload(sys.modules[module])
59
60
def update():
61
- if app_config['YDL_PYTHONPATH']:
+ if app_config.get('YDL_PYTHONPATH'):
62
command = ["pip", "install", "--no-cache-dir", "-t", app_config['YDL_PYTHONPATH'], "--upgrade", "youtube-dlc"]
63
else:
64
command = ["pip", "install", "--no-cache-dir", "--upgrade", "youtube-dlc"]
0 commit comments