diff options
author | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-06-22 13:22:39 (GMT) |
---|---|---|
committer | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-06-22 13:22:39 (GMT) |
commit | 9b7351acae00eb8758470d0b3da35d81eaa98827 (patch) | |
tree | 38871b4482e1d9bca98797e62cb1b8011d7d37e2 /browser.py | |
parent | d1aa885e319c2c14d41fac8d39e958154e0ca329 (diff) |
Fix for get_source. Cleanups.
Diffstat (limited to 'browser.py')
-rw-r--r-- | browser.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ class Browser(webkit.WebView): pass def get_source(self, async_cb, async_err_cb): - if self.props.progress == 0: + if self.props.load_status == webkit.LOAD_FINISHED: async_err_cb() else: |