diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 4d0ff63..da61ad7 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -4116,11 +4116,12 @@ def download_files(message_json, channel): for fileout in fileout_iter(os.path.join(download_location, filename)): if os.path.isfile(fileout): continue + curl_options = SlackRequest(channel.team, "").options() w.hook_process_hashtable( "url:" + f["url_private"], { + **curl_options, "file_out": fileout, - "httpheader": "Authorization: Bearer " + channel.team.token, }, config.slack_timeout, "", |