Skip to content

Commit

Permalink
Fix Comm check bug
Browse files Browse the repository at this point in the history
  • Loading branch information
argenisleon committed Nov 10, 2019
1 parent 9d1111c commit 71a4c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimus/dataframe/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def send(self, name=None, infer=True, mismatch=None, stats=True):
format="json",
mismatch=mismatch)

if Comm:
if Comm.instance:
Comm.instance.send(output)
else:
raise Exception("Comm is not initialized. Please use comm=True param like Optimus(comm=True)")
Expand Down

0 comments on commit 71a4c0e

Please sign in to comment.