1
0
Fork 0
mirror of synced 2024-06-23 08:40:45 +12:00

Don't double delete the dir

This commit is contained in:
aznd 2022-06-26 17:27:35 +02:00
parent c1c2153cc5
commit 19ac7e6c50

View file

@ -54,8 +54,6 @@ def uninstall(app_name: str, core: LegendaryCore, options=None):
igame, delete_files=not options["keep_files"], delete_root_directory=True
)
logger.info("Game has been uninstalled.")
if not options["keep_files"]:
shutil.rmtree(igame.install_path)
except Exception as e:
logger.warning(