Skip to content

Commit

Permalink
Fixed indentation error that caused the check text to occur multiple …
Browse files Browse the repository at this point in the history
…times
  • Loading branch information
Sakurax64 committed Jun 11, 2022
1 parent 7384f49 commit 53a31ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions load.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


this = sys.modules[__name__] # For holding module globals
this.VersionNo = "2.1"
this.VersionNo = "2.2"
this.FactionNames = []
this.TodayData = {}
this.YesterdayData = {}
Expand Down Expand Up @@ -874,9 +874,9 @@ def generate_discord_text(data):

discord_text += f"```css\n{data[i][0]['System']}\n{system_discord_text}```" if system_discord_text != "" else ""

#check if discord text is empty before adding cia text
if discord_text != "":
discord_text += "\nGenerated by CIA-BGS-Tally."
#check if discord text is empty before adding cia text
if discord_text != "":
discord_text += "\nGenerated by CIA-BGS-Tally."

return discord_text.replace("'", "")

Expand Down

0 comments on commit 53a31ff

Please sign in to comment.