Skip to content

Commit

Permalink
Enabling userinput at global level
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 7, 2024
1 parent 8524a05 commit 8f6c518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PKDevTools/classes/OutputControls.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def takeUserInput(
enableUserInput=False,
defaultInput=None
) -> None:
if not enableUserInput:
if (not enableUserInput and not self.enableUserInput) or (not self.enableUserInput and defaultInput is None):
return False
if not self.enableUserInput and defaultInput is None:
return False
Expand Down

0 comments on commit 8f6c518

Please sign in to comment.