~roeldeconinck/mnemosyne-proj/import

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/__init__.py

  • Committer: Peter Bienstman
  • Date: 2011-08-24 17:39:01 UTC
  • Revision ID: peter.bienstman@ugent.be-20110824173901-mt7oqw34dq0s33e1
Tweaks for dialogs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
               traceback.format_exception_only(type, value)
116
116
        body = body + "%-20s %s" % ("".join(list[:-1]), list[-1])
117
117
        try:
118
 
            self.main_widget().show_error(body)
 
118
            if sys.platform != "win32":
 
119
                sys.stderr.write(body) 
 
120
            self.main_widget().show_error(body)               
119
121
        except: 
120
122
            sys.stderr.write(body)
121
123