diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-22 13:47:34 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-22 13:47:34 (GMT) |
commit | 349e396f96e3ce37d2ab9e2d7c02d81abaed476c (patch) | |
tree | 3eb1adcc9394f42636ed365a6d664c70e02ad79b | |
parent | 83d453637ebaa98d1604554dc413c88af0d9976f (diff) |
fix indentation error introduced in 18c756760b78ebdf7680a6cfc44600d90e5cbbb0
-rw-r--r-- | webactivity.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webactivity.py b/webactivity.py index ec010b0..015fdb6 100644 --- a/webactivity.py +++ b/webactivity.py @@ -417,8 +417,8 @@ class WebActivity(activity.Activity): def _load_urls(self): if self.model.data['currents'] != None: - for current in self.model.data['currents']: - self._browser.load_uri(current['url']) + for current in self.model.data['currents']: + self._browser.load_uri(current['url']) def write_file(self, file_path): if not self.metadata['mime_type']: @@ -433,7 +433,8 @@ class WebActivity(activity.Activity): self.model.data['currents'] = [] ui_uri = self._browser.get_url_from_nsiuri(self._browser.progress.location) - self.model.data['currents'].append({'title':self._browser.props.title,'url':ui_uri}) + self.model.data['currents'].append({'title':self._browser.props.title, + 'url':ui_uri}) logging.error(self.model.data) f = open(file_path, 'w') try: |