git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@117
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
except IndexError:
url = "self"
try:
- timeout = int(refresh.split(';')[0])
+ timeout = float(refresh.split(';')[0])
except (IndexError, ValueError):
- timeout = None
- if timeout is None:
raise RedirectException("html", "Bad redirect to %s (%s)" % (url, refresh))
else:
- raise RedirectException("html", "%s (%d sec)" % (url, timeout))
+ raise RedirectException("html", "%s (%s sec)" % (url, timeout))
# Get favicon.ico
icon = parser.icon