new user agent, fix path

This commit is contained in:
j 2010-09-01 19:57:29 +02:00
commit 269086d349
2 changed files with 2 additions and 2 deletions

View file

@ -188,7 +188,7 @@ def normalizeName(name):
return name
def normalizePath(path):
path = path.replace(':', '_').replace('/', '')
path = path.replace(':', '_').replace('/', '_')
if path.endswith('.'): path = path[:-1] + '_'
return path