mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
#208 .name
isn't callable in specific psutil
This commit is contained in:
parent
c42898dde3
commit
d6ce5e1e62
@ -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]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user