Skip to content

Commit

Permalink
Update src/ansys/mapdl/core/mapdl_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 authored Jan 16, 2025
1 parent 06edbe0 commit aa24786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/mapdl/core/mapdl_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ def __init__(self, parent):

def __enter__(self):
self._parent()._log.debug("Entering in non-interactive mode")
if self._parent().logger.logger.level <= 10:
if self._parent().logger.logger.level <= logging.DEBUG:
# only commenting if on debug mode
self._parent().com("Entering in non_interactive mode")
self._parent()._store_commands = True
Expand Down

0 comments on commit aa24786

Please sign in to comment.