From 758a10a123cb7ea8babe84c59f5cc8cda06b52fd Mon Sep 17 00:00:00 2001 From: endorphant Date: Tue, 31 May 2016 15:08:54 -0400 Subject: [PATCH] added pub/nopub listing in view feels --- bin/_ttbp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/_ttbp.py b/bin/_ttbp.py index 5ed7cb0..8e61694 100644 --- a/bin/_ttbp.py +++ b/bin/_ttbp.py @@ -500,8 +500,10 @@ def view_feels(townie): if len(filenames) > 0: entries = [] - pub = "" for entry in metas: + pub = "" + if core.nopub(entry[0]): + pub = "(nopub)" entries.append(""+entry[4]+" ("+p.no("word", entry[2])+") "+"\t"+pub) return list_entries(metas, entries, owner+" recorded feels, listed by date: \n")