diff options
Diffstat (limited to 'src/plugins/scripts/python/weechat-python.c')
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 9755e9532..62ffa25a8 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -314,7 +314,7 @@ weechat_python_load (const char *filename) /* adding $weechat_dir/python in $PYTHONPATH */ python_path = PySys_GetObject ("path"); - w_home = weechat_info_get ("weechat_dir"); + w_home = weechat_info_get ("weechat_dir", ""); if (w_home) { len = strlen (w_home) + 1 + strlen("python") + 1; |