mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Log if game installation directory does not exist
This commit is contained in:
parent
ce486afa8d
commit
289a1aa9e8
|
@ -562,6 +562,7 @@ class LegendaryCore:
|
|||
|
||||
# make sure base directory actually exists (but do not create game dir)
|
||||
if not os.path.exists(base_path):
|
||||
self.log.info(f'"{base_path}" does not exist, creating...')
|
||||
os.makedirs(base_path)
|
||||
|
||||
install_path = os.path.join(base_path, game_folder)
|
||||
|
|
Loading…
Reference in a new issue