From ed9805a543e037c0c5044983587c0abf012a2448 Mon Sep 17 00:00:00 2001 From: endorphant Date: Tue, 7 Nov 2017 12:19:35 -0500 Subject: [PATCH] sure am hardcoding more stuff for issue #11 --- bin/_ttbp.py | 5 +++-- bin/ttbp.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/_ttbp.py b/bin/_ttbp.py index 91fc074..a25e705 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -810,8 +810,9 @@ def view_feed(): for entry in filenames: ## hardcoded bs - if core.valid(entry) and re.search("201612", entry): - feedList.append(os.path.join(entryDir, entry)) + if core.valid(entry): + if re.search("2017", entry): + feedList.append(os.path.join(entryDir, entry)) metas = core.meta(feedList) metas.sort(key = lambda entry:entry[3]) diff --git a/bin/ttbp.py b/bin/ttbp.py index cf619a2..bcfc0a5 100644 --- a/bin/ttbp.py +++ b/bin/ttbp.py @@ -809,8 +809,9 @@ def view_feed(): for entry in filenames: ## hardcoded bs - if core.valid(entry) and re.search("201612", entry): - feedList.append(os.path.join(entryDir, entry)) + if core.valid(entry): + if re.search("2017", entry): + feedList.append(os.path.join(entryDir, entry)) metas = core.meta(feedList) metas.sort(key = lambda entry:entry[3])