mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-09 13:23:59 +01:00
#208 .name
isn't callable in specific psutil
This commit is contained in:
@@ -161,7 +161,7 @@ def _get_shell():
|
|||||||
try:
|
try:
|
||||||
shell = Process(os.getpid()).parent().name()
|
shell = Process(os.getpid()).parent().name()
|
||||||
except TypeError:
|
except TypeError:
|
||||||
shell = Process(os.getpid()).parent.name()
|
shell = Process(os.getpid()).parent.name
|
||||||
return shells[shell]
|
return shells[shell]
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user