Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
generic exception
Browse files Browse the repository at this point in the history
  • Loading branch information
farizrahman4u committed Sep 10, 2020
1 parent bcf28d3 commit c206ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wandb/lib/ipython.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def _get_python_type():
except (NameError, AttributeError):
try:
sys.stdout.fileno()
except (AttributeError, io.UnsupportedOperation):
except Exception:
return 'jupyter'
return "python"

0 comments on commit c206ab4

Please sign in to comment.