From: Oleg Broytman Date: Mon, 31 Dec 2007 20:51:12 +0000 (+0000) Subject: Fixed a bug created by removing module 'string'. X-Git-Tag: v4.5.3~222 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f1e0383ad67eae21ccf32ff0c1c3775a6d65b64a;p=bookmarks_db.git Fixed a bug created by removing module 'string'. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@154 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index 9613582..ea2dece 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -80,7 +80,7 @@ class myftpwrapper(urllib_ftpwrapper): def __init__(self, user, passwd, host, port, dirs): urllib_ftpwrapper.__init__(self, user, passwd, host, port, dirs) global ftpcache_key - ftpcache_key = (user, host, port, tuple(dirs)) + ftpcache_key = (user, host, port, '/'.join(dirs)) urllib.ftpwrapper = myftpwrapper