summary refs log tree commit diff stats
path: root/mailinglist/downloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailinglist/downloader.py')
-rwxr-xr-xmailinglist/downloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailinglist/downloader.py b/mailinglist/downloader.py
index e793271e0..ebe4d2d7e 100755
--- a/mailinglist/downloader.py
+++ b/mailinglist/downloader.py
@@ -63,13 +63,13 @@ def main():
             # existing thread
             re_match = match(r'(?i)^re:\s*(.*)', text) # matches 'Re:'
             if re_match:
-                title_hash = str(hash(re_match.group(1).strip()))[0:7]
+                title_hash = str(hash(re_match.group(1).strip()))[1:8]
                 if path.exists(f"output_mailinglist/{title_hash}"):
                     process_thread(urljoin(url, href), title_hash)
                 continue
 
             # new thread
-            title_hash = str(hash(text.strip()))[0:7]
+            title_hash = str(hash(text.strip()))[1:8]
             if path.exists(f"output_mailinglist/{title_hash}"):
                 print(f"ERROR: {title_hash} should not exist!")
                 continue