From 0de4d98876d6affc06dcba01a79b188f5d1fce2f Mon Sep 17 00:00:00 2001 From: Sirius <110284394+sirius-sama@users.noreply.github.com> Date: Mon, 16 Oct 2023 18:50:37 +0600 Subject: [PATCH] a small fix (#268) --- src/trackers/HDT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trackers/HDT.py b/src/trackers/HDT.py index 1d86367e..52dde972 100644 --- a/src/trackers/HDT.py +++ b/src/trackers/HDT.py @@ -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'