Skip to content

Commit

Permalink
shorten line length to make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
NSoiffer committed Apr 8, 2024
1 parent 4fb12ad commit fbf8bec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/globalPlugins/MathCAT/MathCATPreferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ def __init__(self, parent):

# hack for "CopyAs" because its location in the prefs is not yet fixed
if "CopyAs" not in user_preferences["Navigation"]:
user_preferences["Navigation"]["CopyAs"] = user_preferences["Other"]["CopyAs"] if "CopyAs" in user_preferences["Other"] else "MathML"
user_preferences["Navigation"]["CopyAs"] = (
user_preferences["Other"]["CopyAs"] if "CopyAs" in user_preferences["Other"] else "MathML"
)
UserInterface.validate_user_preferences()

if "NVDAAddOn" in user_preferences:
Expand Down

0 comments on commit fbf8bec

Please sign in to comment.