diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 8f0f03e..a1481f7 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2893,7 +2893,7 @@ def download_files(message_json, **kwargs): download_location = config.files_download_location if not download_location: return - download_location = download_location.replace("%h", w.info_get("weechat_dir", "")) + download_location = w.string_eval_path_home(download_location, {}, {}, {}) if not os.path.exists(download_location): try: |