From c0eea4e1a19f57167d8e31ff0a6bac092c080a89 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 3 Jan 2011 22:23:55 +0100 Subject: little fixes --- module/network/Browser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/network/Browser.py') diff --git a/module/network/Browser.py b/module/network/Browser.py index ab0a0951d..6d8488b6a 100644 --- a/module/network/Browser.py +++ b/module/network/Browser.py @@ -22,9 +22,12 @@ class Browser(object): self.http = HTTPRequest(self.cj, interface, proxies) self.dl = None + def setLastURL(self, val): + self.http.lastURL = val + # tunnel some attributes from HTTP Request to Browser lastEffectiveURL = property(lambda self: self.http.lastEffectiveURL) - lastURL = property(lambda self: self.http.lastURL) + lastURL = property(lambda self: self.http.lastURL, setLastURL) code = property(lambda self: self.http.code) def setCookieJar(self, cj): -- cgit v1.2.3