X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/89dd9a54e1e0a7192477e57ba08f427b62939928..5ec1eb1a779c700a7abd88f4cc51940b036c50b8:/tasklib/serializing.py?ds=sidebyside diff --git a/tasklib/serializing.py b/tasklib/serializing.py index 4594285..ff9b977 100644 --- a/tasklib/serializing.py +++ b/tasklib/serializing.py @@ -178,8 +178,8 @@ class SerializingObject(object): def deserialize_tags(self, tags): if isinstance(tags, six.string_types): - return tags.split(',') if tags else [] - return tags or [] + return set(tags.split(',')) if tags else set() + return set(tags or []) def serialize_depends(self, value): # Return the list of uuids