From 6311bbe641bc99c7b122c285ab9c7e98e3168300 Mon Sep 17 00:00:00 2001 From: ABDUL NIYAS P M Date: Sat, 5 Jan 2019 22:59:44 +0530 Subject: [PATCH] Update corrector.py --- thefuck/corrector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/thefuck/corrector.py b/thefuck/corrector.py index 222a135..f8c0cd4 100644 --- a/thefuck/corrector.py +++ b/thefuck/corrector.py @@ -74,8 +74,7 @@ def organize_commands(corrected_commands): logs.debug('Corrected commands: '.format( ', '.join(u'{}'.format(cmd) for cmd in [first_command] + sorted_commands))) - for command in sorted_commands: - yield command + yield from sorted_commands def get_corrected_commands(command):