Skip to content
Permalink
Browse files

fix a module file name in __init__.py

  • Loading branch information...
sdpython committed Jan 28, 2015
1 parent df95565 commit d95afc34ff86fc747f38bdb94d3dc9ae292066ea
Showing with 9 additions and 4 deletions.
  1. +9 −4 src/pyensae/__init__.py
@@ -51,9 +51,14 @@ def check( log = False):
az= False
else:
raise e
from .sql.magic_sql import register_sql_magics
from .file_helper.magic_file import register_file_magics
from .graph_helper.pagic_graph import register_graph_magics
try:
from .sql.magic_sql import register_sql_magics
from .file_helper.magic_file import register_file_magics
from .graph_helper.magic_graph import register_graph_magics
except Exception as e :
import warnings
warnings.warn(str(e))
raise ImportError("ipython does not seem to be available") from e
ip = get_ipython()
if ip is not None:
# the program is not run from a notebook
@@ -62,6 +67,6 @@ def check( log = False):
register_sql_magics()
register_file_magics()
register_graph_magics()
except ImportError:
except ImportError as e:
# IPython is not installed
pass

0 comments on commit d95afc3

Please sign in to comment.
You can’t perform that action at this time.