#682: Unify work with output in classic and instant mode

This commit is contained in:
Vladimir Iakovlev
2017-08-31 17:58:56 +02:00
parent 96843fc6cd
commit 4625d8503d
237 changed files with 1322 additions and 1332 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from thefuck.specific.sudo import sudo_support
@sudo_support
def match(command):
return ('command not found' in command.stderr.lower()
return ('command not found' in command.output.lower()
and u' ' in command.script)