From 349e396f96e3ce37d2ab9e2d7c02d81abaed476c Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Fri, 22 Oct 2010 13:47:34 +0000 Subject: fix indentation error introduced in 18c756760b78ebdf7680a6cfc44600d90e5cbbb0 --- 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: -- cgit v0.9.1