ulwgl_dl_util: add types to _cleanup

This commit is contained in:
R1kaB3rN 2024-02-17 19:07:03 -08:00
parent 5e23219c44
commit 811ea0a8b8
No known key found for this signature in database

View File

@ -145,7 +145,7 @@ def _extract_dir(proton: Path, steam_compat: Path) -> None:
print("Completed.") print("Completed.")
def _cleanup(tarball, proton, cache, steam_compat) -> None: def _cleanup(tarball: str, proton: str, cache: Path, steam_compat: Path) -> None:
"""Remove files that may have been left in an incomplete state to avoid corruption. """Remove files that may have been left in an incomplete state to avoid corruption.
We want to do this when a download for a new release is interrupted We want to do this when a download for a new release is interrupted