Closed MartinThoma closed 3 years ago
Less indentation is simpler
# 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
Explanation
Less indentation is simpler
Example