diff --git a/bora/python/initHook.py b/bora/python/initHook.py index fc6b646b..82bfcd16 100644 --- a/bora/python/initHook.py +++ b/bora/python/initHook.py @@ -2,12 +2,10 @@ try: import sys import os.path - import helpers.io - from helpers.io import ErrorMessage - from helpers.io import WarningMessage - import Viewer + from coriolis.helpers.io import ErrorMessage, WarningMessage, catch + import coriolis.Viewer except Exception as e: - helpers.io.catch( e ) + catch( e ) sys.exit( 1 ) @@ -23,5 +21,5 @@ def boraHook ( **kw ): if (os.path.exists(userInit)): exec( open(userInit).read() ) except Exception as e: - helpers.io.catch( e ) + catch( e ) return diff --git a/katana/python/initHook.py b/katana/python/initHook.py index b1f79225..68b70b0d 100644 --- a/katana/python/initHook.py +++ b/katana/python/initHook.py @@ -18,7 +18,6 @@ def katanaHook ( **kw ): print( ErrorMessage( 3, 'katana.initHook(): Must be run from a KatanaEngine.' )) return try: - print( 'KATANA INIT' ) userInit = os.path.join( os.getcwd(), 'coriolis2/katana.py' ) if (os.path.exists(userInit)): exec( open(userInit).read() )