Skip to content

Commit

Permalink
add arg request_file_info=False to message_slack.py to deal with new …
Browse files Browse the repository at this point in the history
…files_upload_v2() function as per slackapi/python-slack-sdk#1191 (comment)
  • Loading branch information
kylegwlawrence committed May 23, 2023
1 parent 86dc2d1 commit 9107c9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message_slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def send_processed_image(image_name:str, channel_id:str="C058V9D6PE0") -> None:
channels=channel_id,
initial_comment="Processed photo available for {}".format(image_name),
file=image_path,
request_file_info=False
)
# Log the result
logger.info(result)
Expand Down

0 comments on commit 9107c9a

Please sign in to comment.