diff --git a/thefuck/shells.py b/thefuck/shells.py index e372eb3e..432a3d6a 100644 --- a/thefuck/shells.py +++ b/thefuck/shells.py @@ -161,7 +161,7 @@ def _get_shell(): try: shell = Process(os.getpid()).parent().name() except TypeError: - shell = Process(os.getpid()).parent.name() + shell = Process(os.getpid()).parent.name return shells[shell]