diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-08 15:02:24 (GMT) |
---|---|---|
committer | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-08 15:05:25 (GMT) |
commit | 618d3367007f697606648ab5f8004e489ceca6a5 (patch) | |
tree | fc6983e29ae9cae531226b10ffe55c551c89ed97 | |
parent | fe0b91d7b10216445764d853954bb6a3dea80baa (diff) |
Fix the textview attribute issue.
-rw-r--r-- | GetIABooksActivity.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py index be90f0c..aaf1193 100644 --- a/GetIABooksActivity.py +++ b/GetIABooksActivity.py @@ -338,6 +338,7 @@ class GetIABooksActivity(activity.Activity): format = self.format_combo.props.value else: format = self._books_toolbar.format_combo.props.value + if not hasattr(self, 'textview'): return textbuffer = self.textview.get_buffer() textbuffer.set_text(self.book_data + _('Download URL') + ': ' + self.download_url + format) if _NEW_TOOLBAR_SUPPORT: |