|
|
@ -389,7 +389,7 @@ class ModManager:
|
|
|
|
parent_dir = os.path.join(self.__settings.get_game_folder(), file).split(os.path.basename(file))[0]\
|
|
|
|
parent_dir = os.path.join(self.__settings.get_game_folder(), file).split(os.path.basename(file))[0]\
|
|
|
|
.replace("/", os.path.sep)
|
|
|
|
.replace("/", os.path.sep)
|
|
|
|
if not os.path.exists(parent_dir):
|
|
|
|
if not os.path.exists(parent_dir):
|
|
|
|
os.mkdir(parent_dir)
|
|
|
|
os.makedirs(parent_dir)
|
|
|
|
if not os.path.exists(os.path.join(self.__settings.get_game_folder().replace("/", os.path.sep),
|
|
|
|
if not os.path.exists(os.path.join(self.__settings.get_game_folder().replace("/", os.path.sep),
|
|
|
|
file.replace("/", os.path.sep))):
|
|
|
|
file.replace("/", os.path.sep))):
|
|
|
|
self.__logger.debug(
|
|
|
|
self.__logger.debug(
|
|
|
|