Skip to content

Commit

Permalink
a small fix (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirius-sama authored Oct 16, 2023
1 parent ad8f6d6 commit 0de4d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trackers/HDT.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def upload(self, meta):
data['season'] = 'false'

# Anonymous check
if meta['anon'] == 0 and bool(distutils.util.strtobool(self.config['TRACKERS']['HDT'].get('anon', "False"))) == False:
if meta['anon'] == 0 and bool(distutils.util.strtobool(str(self.config['TRACKERS']['HDT'].get('anon', "False")))) == False:
data['anonymous'] = 'false'
else:
data['anonymous'] = 'true'
Expand Down

0 comments on commit 0de4d98

Please sign in to comment.