From c1a1ca4f600720505510f6ab429d4af9e66b36ec Mon Sep 17 00:00:00 2001 From: gempir Date: Mon, 5 Mar 2018 21:40:27 +0100 Subject: [PATCH] fix acrhive script --- archive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archive.py b/archive.py index 79f6da3..e77994c 100644 --- a/archive.py +++ b/archive.py @@ -14,6 +14,8 @@ for subdir, dirs, files in os.walk(rootdir): for file in files: if re.search(month, subdir, re.IGNORECASE): continue # current month should be ignored + if file == "channels": + continue log = os.path.join(subdir, file) if re.search('.gz', file): continue # already gzipped this