Skip to content

Commit

Permalink
Additions to name output in stdout logging
Browse files Browse the repository at this point in the history
  • Loading branch information
PaperMtn committed May 5, 2023
1 parent fddc8df commit a563e3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/slack_watchman/sw_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def log(self,

elif message.get('file'):
message = 'POST_TYPE: File' \
f' POSTED_BY: {message.get("user").get("email")}' \
f' POSTED_BY: {message.get("user", {}).get("display_name")} ' \
f'- {message.get("user").get("email")}' \
f' CREATED: {message.get("file").get("created")} \n' \
f' FILE_NAME: {message.get("file").get("name")} \n' \
f' PRIVATE_URL: {message.get("file").get("url_private_download")} \n' \
Expand Down

0 comments on commit a563e3e

Please sign in to comment.