diff --git a/client.py b/client.py
index 9fdd2c9d8913a585299eed385769c97f8715a1b1..23e6cd54f0905a5fa160b0b11f51de919845abd9 100644
--- a/client.py
+++ b/client.py
@@ -362,7 +362,11 @@ class Site(object):
 		
 		predata = {}
 		
-		predata['comment'] = description
+		if comment == '':
+			predata['comment'] = description
+		else:
+			predata['comment'] = comment
+			predata['text'] = description
 		if ignore: 
 			predata['ignorewarnings'] = 'true'
 		predata['token'] = image.get_token('edit')