minor update

This commit is contained in:
Miroslav Stampar
2010-09-23 14:07:23 +00:00
parent 927ad7bf13
commit 13bb3a6212
2 changed files with 4 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ class Agent:
elif parameter == "User-Agent":
retValue = value.replace(value, newValue)
elif parameter == "URI":
retValue = value.replace('*', ' %s ' % newValue.replace(value,''))
retValue = value.replace("*", " %s " % newValue.replace(value, str()))
else:
paramString = conf.parameters[place]