Skip to content

Commit

Permalink
Only print character count if > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Dec 28, 2024
1 parent 14adda9 commit 42b9477
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trackers/COMMON.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ async def unit3d_edit_desc(self, meta, tracker, signature, comparison=False, des
descfile.write("[/spoiler][/center]\n")
char_count += len("[/spoiler][/center]\n")

console.print(f"[yellow]Total characters written to description: {char_count}")
if char_count >= 1:
console.print(f"[yellow]Total characters written to description: {char_count}")

# Append signature if provided
if signature:
Expand Down

0 comments on commit 42b9477

Please sign in to comment.