Skip to content

Commit 53a31ff

Browse files
committed
Fixed indentation error that caused the check text to occur multiple times
1 parent 7384f49 commit 53a31ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

load.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
this = sys.modules[__name__] # For holding module globals
23-
this.VersionNo = "2.1"
23+
this.VersionNo = "2.2"
2424
this.FactionNames = []
2525
this.TodayData = {}
2626
this.YesterdayData = {}
@@ -874,9 +874,9 @@ def generate_discord_text(data):
874874

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

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

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

0 commit comments

Comments
 (0)