diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-01-12 14:38:53 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-01-12 14:38:53 (GMT) |
commit | 5c748872a64c8507dc14c8fcdf2150c2bfb866c0 (patch) | |
tree | 2ea88a96306fb890d627864e9ee186b69cef1379 /exporthtml.py | |
parent | de81ebaac22b88c5642fe1d30d63b1696da97064 (diff) |
clean up of favorites code: use keep property
Diffstat (limited to 'exporthtml.py')
-rw-r--r-- | exporthtml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exporthtml.py b/exporthtml.py index 1c3f699..08cd505 100644 --- a/exporthtml.py +++ b/exporthtml.py @@ -73,7 +73,7 @@ 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 + if dsobj.metadata['keep'] == '0': continue htmlcode += HTML_GLUE['slide'][0] + str(i) htmlcode += HTML_GLUE['slide'][1] + \ |