Permalink
Browse files

Use tag_key in __convert_tag_string instead of hard coding it as 'tags'.

  • Loading branch information...
mudge committed Dec 18, 2009
1 parent 26a332b commit 6fcf8d31893cf59d5ed6f61d533abeabf65f4e72
Showing with 1 addition and 1 deletion.
  1. +1 −1 delicious.py
View
@@ -325,5 +325,5 @@ def __convert_date_string(self, dict_with_date, date_key='date'):
def __convert_tag_string(self, dict_with_tags, tag_key='tags'):
'''Convert a space-separated tag string to a list of tags.'''
- dict_with_tags['tags'] = dict_with_tags['tags'].split(' ')
+ dict_with_tags[tag_key] = dict_with_tags[tag_key].split(' ')
return dict_with_tags

0 comments on commit 6fcf8d3

Please sign in to comment.