eiris push

small-nav
Mimi Momo 4 years ago
parent 7b6a095fbf
commit 1c5c6e09fd

@ -58,11 +58,18 @@ def snip_article(article):
return result + " ... " return result + " ... "
def sort_files(files): def sort_files(files):
m = list(reversed(files)) sort = files
return files return sort
def gather_files(): def gather_files():
return os.listdir('entries/feature/') files = []
feature = os.listdir('entries/feature/')
for f in feature:
files.append('entries/feature/' + f)
weekly = os.listdir('entries/weekly/')
for f in weekly:
files.append('entries/weekly/' + f)
return files
# Static # Static

Loading…
Cancel
Save