diff options
Diffstat (limited to 'CeibalNotifica.py')
-rw-r--r-- | CeibalNotifica.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/CeibalNotifica.py b/CeibalNotifica.py index 59ff93e..ff887a2 100644 --- a/CeibalNotifica.py +++ b/CeibalNotifica.py @@ -23,10 +23,8 @@ import os import gtk import sys import gobject -try: - from ceibal.notifier.store import * -except: - from store import * +from ceibal.notifier.store import * +#from store import * from sugar.activity import activity from sugar.activity.widgets import StopButton BASE = os.path.dirname(__file__) @@ -70,10 +68,8 @@ class CeibalNotifica(activity.Activity): self.text_view.set_justification(gtk.JUSTIFY_LEFT) self.text_view.set_wrap_mode(gtk.WRAP_WORD) hpanel = gtk.HPaned() - try: - self.store = Store(db_filename="prueba.db") - except: - self.store = Store() + #self.store = Store(db_filename="prueba.db") + self.store = Store() scroll = gtk.ScrolledWindow() scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) scroll.add_with_viewport(self.notify_store) |