Skip to content

Commit

Permalink
Update slack.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrous authored Aug 9, 2024
1 parent f692499 commit c4c9efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdc_aws_utils/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ def get_message_ts(slack_client: WebClient, slack_channel: str, science_filename
slack_science_file = parser(slack_science_filename)
except ValueError:
continue
science_file = parser(science_filename)

science_file = parser(science_filename)
if have_same_keys_and_values(
[slack_science_file, science_file],
["time", "mode", "test"],
["instrument", "time"],
):
return message["ts"]

Expand Down

0 comments on commit c4c9efb

Please sign in to comment.