mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-07 12:05:21 +00:00
ulwgl_dl_util: move var inside block
This commit is contained in:
parent
f24dbc8591
commit
05d7f4d141
@ -256,8 +256,6 @@ def _get_latest(
|
|||||||
When the digests mismatched or when interrupted, refer to cache for an old version
|
When the digests mismatched or when interrupted, refer to cache for an old version
|
||||||
"""
|
"""
|
||||||
if files:
|
if files:
|
||||||
tarball: str = files[1][0]
|
|
||||||
|
|
||||||
print("Fetching latest release ...")
|
print("Fetching latest release ...")
|
||||||
try:
|
try:
|
||||||
_fetch_proton(env, steam_compat, cache, files)
|
_fetch_proton(env, steam_compat, cache, files)
|
||||||
@ -267,6 +265,8 @@ def _get_latest(
|
|||||||
# Refer to the cache for old version next
|
# Refer to the cache for old version next
|
||||||
return None
|
return None
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
tarball: str = files[1][0]
|
||||||
|
|
||||||
# Exit cleanly
|
# Exit cleanly
|
||||||
# Clean up extracted data and cache to prevent corruption/errors
|
# Clean up extracted data and cache to prevent corruption/errors
|
||||||
# Refer to the cache for old version next
|
# Refer to the cache for old version next
|
||||||
|
Loading…
x
Reference in New Issue
Block a user