String format changes

This commit is contained in:
svk28 2017-07-18 16:03:51 +03:00
parent 45d22be777
commit 66ff933ec6

View File

@ -28,7 +28,7 @@ def insert(**kwargs):
qwery = qwery.rstrip(', ') + ') VALUES('
for key in kwargs.keys():
#qwery = qwery + '"' + kwargs.get(key) +'", '
qwery = "{} '{}',".format(qwery,kwargs.get(key))
qwery = "{} \"{}\",".format(qwery,kwargs.get(key))
qwery = qwery.rstrip(', ') + ');'
print(qwery)