setting tags to list before json serializing
This commit is contained in:
parent
d1fc0ba0db
commit
11750c0f91
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def send_action(project=None, tags=None, key=None, targetFile=None,
|
||||||
if project:
|
if project:
|
||||||
data['project'] = project
|
data['project'] = project
|
||||||
if tags:
|
if tags:
|
||||||
data['tags'] = set(tags)
|
data['tags'] = list(set(tags))
|
||||||
log.debug(data)
|
log.debug(data)
|
||||||
request = urllib2.Request(url=url, data=json.dumps(data))
|
request = urllib2.Request(url=url, data=json.dumps(data))
|
||||||
user_agent = get_user_agent(plugin)
|
user_agent = get_user_agent(plugin)
|
||||||
|
|
Loading…
Reference in a new issue