X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/blobdiff_plain/4ced659d1961630c20a1ef817422f242f723af7f..a60747292e91a47d122158659182f82bfd2e922a:/helper.py diff --git a/helper.py b/helper.py index af87f71..8f1dfe2 100644 --- a/helper.py +++ b/helper.py @@ -14,7 +14,7 @@ def find_dumps(dumpdir, base_pattern): fname, ext = path.splitext(fpath) dumpext[fname].append(ext) - ext_priority = ['.zst','.xz','.bz2'] + ext_priority = ['.zst','.xz','.bz2','.gz'] for base, exts in dumpext.items(): ext = [ext for ext in ext_priority if ext in exts][0]