Skip to content

Commit

Permalink
Merge pull request #25 from thin-edge:fix-tuple-format
Browse files Browse the repository at this point in the history
fix tuple format
  • Loading branch information
reubenmiller authored Sep 17, 2024
2 parents 9f5666f + 539b163 commit 254b398
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gittyup.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ def on_message(self, client, userdata, message):
status = payload_dict.get("status", "")

if status == "successful":
commit = (payload_dict.get("commit", ""),)
branch = (payload_dict.get("branch", ""),)
url = (payload_dict.get("url", ""),)
commit = payload_dict.get("commit", "")
branch = payload_dict.get("branch", "")
url = payload_dict.get("url", "")
self.publish_tedge_command(message.topic, "")

event_payload = {
Expand Down

0 comments on commit 254b398

Please sign in to comment.