summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/cohost.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/cohost.py')
-rw-r--r--gallery_dl/extractor/cohost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/cohost.py b/gallery_dl/extractor/cohost.py
index 4722a4f..0524239 100644
--- a/gallery_dl/extractor/cohost.py
+++ b/gallery_dl/extractor/cohost.py
@@ -109,7 +109,7 @@ class CohostUserExtractor(CohostExtractor):
"projectHandle": self.groups[0],
"page": 0,
"options": {
- "pinnedPostsAtTop" : bool(self.pinned),
+ "pinnedPostsAtTop" : True if self.pinned else False,
"hideReplies" : not self.replies,
"hideShares" : not self.shares,
"hideAsks" : not self.asks,