Skip to content

Commit

Permalink
Merge pull request #113 from Drazzilb08/upgradinatorr-patch
Browse files Browse the repository at this point in the history
Fix double notification post
  • Loading branch information
Drazzilb08 authored Mar 6, 2024
2 parents b90cbeb + e2a1468 commit 810b72e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.10
0.1.11
6 changes: 3 additions & 3 deletions modules/upgradinatorr.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ def notification(output_dict, logger):
"name": server_name,
"value": f"```{value}```"
})
# Send the constructed fields as a Discord message
if fields:
discord(fields, logger, script_name, description=f"{'__**Dry Run**__' if dry_run else ''}", color=0x00ff00, content=None)
# Send the constructed fields as a Discord message
if fields:
discord(fields, logger, script_name, description=f"{'__**Dry Run**__' if dry_run else ''}", color=0x00ff00, content=None)

def main(config):
"""
Expand Down

0 comments on commit 810b72e

Please sign in to comment.