X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/blobdiff_plain/4ced659d1961630c20a1ef817422f242f723af7f..f8ff8b2d0f634d4671de090b3c1ceba12be958d6:/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]