Skip to content

Commit

Permalink
Fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Dec 26, 2023
1 parent ad7e514 commit ba7aad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openc3/python/openc3/script/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def disconnect_script():
def ask_string(question, blank_or_default=False, password=False):
answer = ""
default = None
if blank_or_default != True and blank_or_default != False:
if blank_or_default is not True and blank_or_default is not False:
question += f" (default = {blank_or_default})"
default = str(blank_or_default)
allow_blank = True
Expand Down

0 comments on commit ba7aad0

Please sign in to comment.