Changeset 6333


Ignore:
Timestamp:
Feb 13, 2009, 11:27:37 AM (16 years ago)
Author:
rwilson
Message:

Added better error handling on failure to import WxPython?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/event_selection/EventSelection.py

    r6330 r6333  
    2121    import wx
    2222except ImportError:
     23    import tkinter_error
    2324    msg = ('Sorry, you have to install WxPython.\n'
    2425           'Get it from either:\n'
    2526           r'   N:\georisk\downloads\event_selection, or' '\n'
    2627           '   [http://www.wxpython.org/download.php#binaries].')
    27     tkinter_error(msg)
     28    tkinter_error.tkinter_error(msg)
    2829    print msg
    2930    sys.exit(1)
     
    5253# program name and version
    5354APP_NAME = 'EventSelection'
    54 APP_VERSION = '0.6'
     55APP_VERSION = '0.7'
    5556
    5657# name of the configuration filename
Note: See TracChangeset for help on using the changeset viewer.