Skip to content
Snippets Groups Projects
Commit 9fee96fc authored by Dan Michael O. Heggø's avatar Dan Michael O. Heggø
Browse files

[gist 3041116] Add support for upload comments

parent 546f77d6
No related branches found
No related tags found
No related merge requests found
...@@ -362,7 +362,11 @@ class Site(object): ...@@ -362,7 +362,11 @@ class Site(object):
predata = {} predata = {}
predata['comment'] = description if comment == '':
predata['comment'] = description
else:
predata['comment'] = comment
predata['text'] = description
if ignore: if ignore:
predata['ignorewarnings'] = 'true' predata['ignorewarnings'] = 'true'
predata['token'] = image.get_token('edit') predata['token'] = image.get_token('edit')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment