fix copy fail

only made a ref not a real copy
This commit is contained in:
Bastian Schroll 2017-12-19 09:05:27 +01:00
parent 1771c2ec6f
commit 0539e33207

View file

@ -71,7 +71,7 @@ def run(typ,freq,data):
# Make a copy of the data field to not overwrite the data in it
# Replace special characters in dataCopy Strings for URL
#
dataCopy = data
dataCopy = dict(data)
for key in dataCopy:
if isinstance(dataCopy[key], basestring):
dataCopy[key] = urllib.quote(dataCopy[key])