X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/blobdiff_plain/9075a8153c6a900cce0ffb28c95da09211956ff9..refs/heads/synced/master:/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]