diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 12:57:38 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 12:57:38 +0000 |
| commit | cddf7dfa5a6e92a9057e7f6afae5d9b970585e6f (patch) | |
| tree | 7cdb827588e9aa46fd430aea857de5db3621e38f /mailinglist/downloader.py | |
| parent | b372f5a5601734a150a32651c507a1e9ead575a5 (diff) | |
| download | emulator-bug-study-cddf7dfa5a6e92a9057e7f6afae5d9b970585e6f.tar.gz emulator-bug-study-cddf7dfa5a6e92a9057e7f6afae5d9b970585e6f.zip | |
change mail-ids
Diffstat (limited to 'mailinglist/downloader.py')
| -rwxr-xr-x | mailinglist/downloader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mailinglist/downloader.py b/mailinglist/downloader.py index ebe4d2d7..12673e7c 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()))[1:8] + title_hash = str(hash(re_match.group(1).strip()))[1:9] if path.exists(f"output_mailinglist/{title_hash}"): process_thread(urljoin(url, href), title_hash) continue # new thread - title_hash = str(hash(text.strip()))[1:8] + title_hash = str(hash(text.strip()))[1:9] if path.exists(f"output_mailinglist/{title_hash}"): print(f"ERROR: {title_hash} should not exist!") continue |