Skip to content

Commit

Permalink
Revert "Capitalization"
Browse files Browse the repository at this point in the history
This reverts commit 5478c8c.
  • Loading branch information
Audionut committed Aug 30, 2024
1 parent 5478c8c commit dc4186d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trackers/HDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async def upload(self, meta):
# Download new .torrent from site
hdb_desc = open(f"{meta['base_dir']}/tmp/{meta['uuid']}/[{self.tracker}]DESCRIPTION.txt", 'r').read()
torrent_path = f"{meta['base_dir']}/tmp/{meta['uuid']}/[{self.tracker}]{meta['clean_name']}.torrent"
torrent = torrent.read(torrent_path)
torrent = Torrent.read(torrent_path)

# Check if the piece size exceeds 16 MiB and regenerate the torrent if needed
if torrent.piece_size > 16777216: # 16 MiB in bytes
Expand Down

0 comments on commit dc4186d

Please sign in to comment.