Merge branch 'next' of github.com:lutris/lutris into next

This commit is contained in:
Mathieu Comandon 2015-03-04 15:24:09 +01:00
commit 54133f0cb1
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ class steam(Runner):
while ('BaseInstallFolder_%s' % i) in steam_config:
path = steam_config['BaseInstallFolder_%s' % i] + '/SteamApps'
path = system.fix_path_case(path)
if os.path.exists(path):
if path:
dirs.append(path)
i += 1
return dirs

View file

@ -244,7 +244,7 @@ class winesteam(wine.wine):
path = steam_config['BaseInstallFolder_%s' % i] + '/SteamApps'
linux_path = self.parse_wine_path(path, self.prefix_path)
linux_path = system.fix_path_case(linux_path)
if os.path.exists(linux_path):
if linux_path:
dirs.append(linux_path)
i += 1
return dirs