1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

Fix splitting of command line

This commit is contained in:
Nikita Kozar 2018-11-09 20:12:09 +02:00
parent bf5373dcca
commit 60b545acb4

View File

@ -14,7 +14,7 @@ source_layouts = [u'''йцукенгшщзхъфывапролджэячсмит
def _get_matched_layout(command):
# don't use command.split_script here because a layout mismatch will likely
# result in a non-splitable sript as per shlex
cmd = command.split(' ')
cmd = command.script.split(' ')
for source_layout in source_layouts:
is_all_match = True