diff options
| author | 2011-01-03 22:23:55 +0100 | |
|---|---|---|
| committer | 2011-01-03 22:23:55 +0100 | |
| commit | c0eea4e1a19f57167d8e31ff0a6bac092c080a89 (patch) | |
| tree | 74a596b660348d35e3ff77a032274dea2a0139b3 /module/network | |
| parent | fixed daemon mode (diff) | |
| download | pyload-c0eea4e1a19f57167d8e31ff0a6bac092c080a89.tar.xz | |
little fixes
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): | 
