From d6ce5e1e62f9e18e28cd35be57ab9e0fbab09ad9 Mon Sep 17 00:00:00 2001 From: nvbn Date: Wed, 20 May 2015 16:41:11 +0300 Subject: [PATCH] #208 `.name` isn't callable in specific psutil --- thefuck/shells.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]