aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/postmill.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/postmill.py')
-rw-r--r--gallery_dl/extractor/postmill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/postmill.py b/gallery_dl/extractor/postmill.py
index 29b351b..8877175 100644
--- a/gallery_dl/extractor/postmill.py
+++ b/gallery_dl/extractor/postmill.py
@@ -50,7 +50,7 @@ class PostmillExtractor(BaseExtractor):
forum = match.group(1)
id = int(match.group(2))
- is_text_post = url.startswith("/")
+ is_text_post = (url[0] == "/")
is_image_post = self._search_image_tag(page) is not None
data = {
"title": title,