You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Bad
elif get_app().window.actionFilesShowAudio.isChecked():
if media_type != "audio":
return False
# Good
elif get_app().window.actionFilesShowAudio.isChecked() and media_type != "audio":
return False
The text was updated successfully, but these errors were encountered:
Explanation
Less indentation is simpler
Example
The text was updated successfully, but these errors were encountered: