Skip to content

Commit

Permalink
fix(ai): add init module
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Jan 17, 2024
1 parent 6216505 commit ee05aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added pyTigerGraph/ai/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions pyTigerGraph/pyTigerGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def __getattribute__(self, name):
from .ai import ai
self.ai = ai.AI(self)
return super().__getattribute__(name)
except:
except Exception as e:
raise Exception(
"Error importing AI submodule."
"Error importing AI submodule. "+str(e)
)
else:
return super().__getattribute__(name)
Expand Down

0 comments on commit ee05aa3

Please sign in to comment.