Skip to content

Commit

Permalink
umu_proton: fix format
Browse files Browse the repository at this point in the history
- Because the indentation was off, the lock wasn't held
  • Loading branch information
R1kaB3rN committed Jan 2, 2025
1 parent 30760db commit 5bac488
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions umu/umu_proton.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,18 +383,18 @@ def _get_latest(
if steam_compat.joinpath(proton).is_dir():
raise FileExistsError

# Once acquiring the lock check if Proton hasn't been installed
if (
steam_compat.joinpath(proton).is_dir()
or umu_compat.joinpath(version).is_dir()
):
raise FileExistsError
# Once acquiring the lock check if Proton hasn't been installed
if (
steam_compat.joinpath(proton).is_dir()
or umu_compat.joinpath(version).is_dir()
):
raise FileExistsError

# Download the archive to a temporary directory
_fetch_proton(env, session_caches, assets, session_pools)
# Download the archive to a temporary directory
_fetch_proton(env, session_caches, assets, session_pools)

# Extract the archive then move the directory
_install_proton(tarball, session_caches, compat_tools)
# Extract the archive then move the directory
_install_proton(tarball, session_caches, compat_tools)
except (
ValueError,
KeyboardInterrupt,
Expand Down

0 comments on commit 5bac488

Please sign in to comment.