fix acrhive script

This commit is contained in:
gempir 2018-03-05 21:40:27 +01:00
parent 545c69caa4
commit c1a1ca4f60

View file

@ -14,6 +14,8 @@ for subdir, dirs, files in os.walk(rootdir):
for file in files: for file in files:
if re.search(month, subdir, re.IGNORECASE): if re.search(month, subdir, re.IGNORECASE):
continue # current month should be ignored continue # current month should be ignored
if file == "channels":
continue
log = os.path.join(subdir, file) log = os.path.join(subdir, file)
if re.search('.gz', file): if re.search('.gz', file):
continue # already gzipped this continue # already gzipped this