forked from endorphant/ttbp
sure am hardcoding more stuff for issue #11
parent
84492799e3
commit
ed9805a543
|
@ -810,8 +810,9 @@ def view_feed():
|
||||||
|
|
||||||
for entry in filenames:
|
for entry in filenames:
|
||||||
## hardcoded bs
|
## hardcoded bs
|
||||||
if core.valid(entry) and re.search("201612", entry):
|
if core.valid(entry):
|
||||||
feedList.append(os.path.join(entryDir, entry))
|
if re.search("2017", entry):
|
||||||
|
feedList.append(os.path.join(entryDir, entry))
|
||||||
|
|
||||||
metas = core.meta(feedList)
|
metas = core.meta(feedList)
|
||||||
metas.sort(key = lambda entry:entry[3])
|
metas.sort(key = lambda entry:entry[3])
|
||||||
|
|
|
@ -809,8 +809,9 @@ def view_feed():
|
||||||
|
|
||||||
for entry in filenames:
|
for entry in filenames:
|
||||||
## hardcoded bs
|
## hardcoded bs
|
||||||
if core.valid(entry) and re.search("201612", entry):
|
if core.valid(entry):
|
||||||
feedList.append(os.path.join(entryDir, entry))
|
if re.search("2017", entry):
|
||||||
|
feedList.append(os.path.join(entryDir, entry))
|
||||||
|
|
||||||
metas = core.meta(feedList)
|
metas = core.meta(feedList)
|
||||||
metas.sort(key = lambda entry:entry[3])
|
metas.sort(key = lambda entry:entry[3])
|
||||||
|
|
Loading…
Reference in New Issue