diff options
Diffstat (limited to 'module/network')
| -rw-r--r-- | module/network/Browser.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| 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): | 
