mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Fix custom Steam folders sync (Part 2)
This commit is contained in:
parent
76593f5aa4
commit
e4053a2638
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue