Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Dec 13, 2024
1 parent cf3fb14 commit 85f1a64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/trackers/BHD.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,12 @@ async def edit_desc(self, meta):
web_url = images[each]['web_url']
img_url = images[each]['img_url']
if (each == len(images) - 1):
desc.write(f"[url={web_url}][img width=350]{img_url}[/img][/url]")
desc.write(f"[url={web_url}][img width=350]{img_url}[/img][/url]")
elif (each + 1) % 2 == 0:
desc.write(f"[url={web_url}][img width=350]{img_url}[/img][/url]\n")
desc.write("\n")
desc.write(f"[url={web_url}][img width=350]{img_url}[/img][/url]\n")
desc.write("\n")
else:
desc.write(f"[url={web_url}][img width=350]{img_url}[/img][/url] ")
desc.write(f"[url={web_url}][img width=350]{img_url}[/img][/url] ")
desc.write("[/align]")
desc.write(self.signature)
desc.close()
Expand Down

0 comments on commit 85f1a64

Please sign in to comment.