Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/exporthtml.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-01-11 22:26:50 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-01-11 22:26:50 (GMT)
commitde81ebaac22b88c5642fe1d30d63b1696da97064 (patch)
treeb996557b16014604985bd52a39b1814a239eb679 /exporthtml.py
parenta5b1f32aa22e44b9e9a662c860c194aff96765da (diff)
skip unstarred entries
Diffstat (limited to 'exporthtml.py')
-rw-r--r--exporthtml.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/exporthtml.py b/exporthtml.py
index b56116d..1c3f699 100644
--- a/exporthtml.py
+++ b/exporthtml.py
@@ -73,6 +73,8 @@ def save_html(activity, nick):
htmlcode += HTML_GLUE['div'][1]
for i, dsobj in enumerate(activity.dsobjects):
+ if activity.favorites[i].type == 'unstar': # Skip this entry
+ continue
htmlcode += HTML_GLUE['slide'][0] + str(i)
htmlcode += HTML_GLUE['slide'][1] + \
HTML_GLUE['div'][0]