Merge pull request #11 from HeavenVolkoff/patch-1

Replace path obj .remove call with .unlink
This commit is contained in:
Jip-Hop 2023-03-10 09:46:02 +01:00 committed by GitHub
commit da85cdf5d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def passthrough_nvidia(gpu_passthrough_nvidia, systemd_nspawn_additional_args, j
if gpu_passthrough_nvidia != '1': if gpu_passthrough_nvidia != '1':
# Cleanup the config file we made when passthrough was enabled # Cleanup the config file we made when passthrough was enabled
ld_so_conf_path.remove(missing_ok=True) ld_so_conf_path.unlink(missing_ok=True)
return return
try: try: