Skip to content

Commit c3e6a20

Browse files
committed
Remove unused exception catch
1 parent fb51fce commit c3e6a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

investing_algorithm_framework/domain/utils/jupyter_notebook_detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ def is_jupyter_notebook():
1414
except AttributeError:
1515
# If get_ipython() does not have 'config', it is not a Jupyter Notebook
1616
return False
17-
except Exception as e:
17+
except Exception:
1818
# Catch any other exceptions and return False
1919
return False

0 commit comments

Comments
 (0)