added pub/nopub listing in view feels

master
endorphant 2016-05-31 15:08:54 -04:00
parent 0fe5b9553a
commit 758a10a123
1 changed files with 3 additions and 1 deletions

View File

@ -500,8 +500,10 @@ def view_feels(townie):
if len(filenames) > 0: if len(filenames) > 0:
entries = [] entries = []
pub = ""
for entry in metas: for entry in metas:
pub = ""
if core.nopub(entry[0]):
pub = "(nopub)"
entries.append(""+entry[4]+" ("+p.no("word", entry[2])+") "+"\t"+pub) entries.append(""+entry[4]+" ("+p.no("word", entry[2])+") "+"\t"+pub)
return list_entries(metas, entries, owner+" recorded feels, listed by date: \n") return list_entries(metas, entries, owner+" recorded feels, listed by date: \n")