Skip to content

Commit

Permalink
Serialize tags as list
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed May 28, 2020
1 parent 4f11391 commit 4c345bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasklib/serializing.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def deserialize_annotations(self, data):
return [TaskAnnotation(self, d) for d in data] if data else []

def serialize_tags(self, tags):
return ','.join(tags) if tags else ''
return list(tags)

def deserialize_tags(self, tags):
if isinstance(tags, str):
Expand Down

0 comments on commit 4c345bb

Please sign in to comment.