setting tags to list before json serializing

This commit is contained in:
Alan Hamlett 2013-07-20 15:14:52 -07:00
parent d1fc0ba0db
commit 11750c0f91

View file

@ -124,7 +124,7 @@ def send_action(project=None, tags=None, key=None, targetFile=None,
if project:
data['project'] = project
if tags:
data['tags'] = set(tags)
data['tags'] = list(set(tags))
log.debug(data)
request = urllib2.Request(url=url, data=json.dumps(data))
user_agent = get_user_agent(plugin)