Skip to content

Commit 9c9bfd4

Browse files
committed
umu_proton: update logic
1 parent 03286d8 commit 9c9bfd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

umu/umu_proton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ def get_umu_proton(
4444
log.debug("Network is unreachable")
4545

4646
# Download the latest Proton
47-
if _get_latest(env, STEAM_COMPAT, tmp, files, thread_pool):
47+
if _get_latest(env, STEAM_COMPAT, tmp, files, thread_pool) is not None:
4848
return env
4949

5050
# When offline or an error occurs, use the first Proton in
5151
# compatibilitytools.d
52-
if _get_from_steamcompat(env, STEAM_COMPAT):
52+
if _get_from_steamcompat(env, STEAM_COMPAT) is not None:
5353
return env
5454

5555
# No internet and compat tool is empty, just return and raise an

0 commit comments

Comments
 (0)