This commit is contained in:
Morten Enemark Lund 2016-10-15 16:58:52 +02:00 committed by GitHub
parent c6d9f9eab3
commit 92cb3a81ff

View file

@ -168,7 +168,7 @@ class CommandsCache(cabc.Mapping):
def predict_backgroundable(self, cmd):
"""Predics whether a command list is backgroundable."""
name = self.cached_name(cmd[0])
if ON_WINDOWS:
if ON_WINDOWS:
# On all names (keys) are stored in upper case so instead
# we get the original cmd or alias name
path, _ = self.lazyget(name, (None, None))