diff --git a/blender_render/blender_utils.py b/blender_render/blender_utils.py index ed4be3d..3f60bd0 100644 --- a/blender_render/blender_utils.py +++ b/blender_render/blender_utils.py @@ -80,7 +80,7 @@ def download_scene(scene: BlenderScene) -> None: def copy_scene_from_network_drive(file_name, destination): """copy blend file from network drive""" - network_dir = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\03_ProcessingFiles\\Blender Render") + network_dir = Path("\\\\labs.lmg.gg\\labs\\03_ProcessingFiles\\Blender Render") source_path = network_dir.joinpath(file_name) logging.info("Copying %s from %s", file_name, source_path) shutil.copyfile(source_path, destination) diff --git a/godot_compile/godot_compile_utils.py b/godot_compile/godot_compile_utils.py index ad3fa0b..a64cad2 100644 --- a/godot_compile/godot_compile_utils.py +++ b/godot_compile/godot_compile_utils.py @@ -24,7 +24,7 @@ def install_mingw() -> str: if str(MINGW_FOLDER) not in original_path: os.environ['PATH'] = str(MINGW_FOLDER.joinpath('bin')) + os.pathsep + original_path return "existing mingw installation detected" - source = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\01_Installers_Utilities\\MinGW\\").joinpath(MINGW_ZIP) + source = Path("\\\\labs.lmg.gg\\labs\\01_Installers_Utilities\\MinGW\\").joinpath(MINGW_ZIP) destination = SCRIPT_DIR.joinpath(MINGW_ZIP) shutil.copyfile(source, destination) with ZipFile(destination, 'r') as zip_object: @@ -36,7 +36,7 @@ def install_mingw() -> str: def copy_miniconda_from_network_drive(): """copies miniconda installer from network drive""" - source = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\01_Installers_Utilities\\Miniconda\\").joinpath( + source = Path("\\\\labs.lmg.gg\\labs\\01_Installers_Utilities\\Miniconda\\").joinpath( MINICONDA_INSTALLER) destination = SCRIPT_DIR.joinpath(MINICONDA_INSTALLER) shutil.copyfile(source, destination) @@ -72,7 +72,7 @@ def copy_godot_source_from_network_drive() -> str: if SCRIPT_DIR.joinpath(GODOT_DIR).is_dir(): return "existing godot source directory detected" zip_name = f"{GODOT_DIR}.zip" - source = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\03_ProcessingFiles\\Godot Files\\").joinpath(zip_name) + source = Path("\\\\labs.lmg.gg\\labs\\03_ProcessingFiles\\Godot Files\\").joinpath(zip_name) destination = SCRIPT_DIR.joinpath(zip_name) shutil.copyfile(source, destination) with ZipFile(destination, 'r') as zip_object: diff --git a/handbrake/handbrake_utils.py b/handbrake/handbrake_utils.py index 3ff8ffa..1665d68 100644 --- a/handbrake/handbrake_utils.py +++ b/handbrake/handbrake_utils.py @@ -18,7 +18,7 @@ def handbrake_present() -> bool: def copy_handbrake_from_network_drive(): """copy handbrake cli from network drive""" source = Path( - "\\\\labs.lmg.gg\\labs.lmg.gg\\01_Installers_Utilities\\Handbrake\\X86\\HandBrakeCLI-1.9.1-win-x86_64\\") + "\\\\labs.lmg.gg\\labs\\01_Installers_Utilities\\Handbrake\\X86\\HandBrakeCLI-1.9.1-win-x86_64\\") copy_souce = source / HANDBRAKE_EXECUTABLE destination = SCRIPT_DIR / HANDBRAKE_EXECUTABLE shutil.copyfile(copy_souce, destination) diff --git a/stellaris/stellaris_utils.py b/stellaris/stellaris_utils.py index b609e12..7a0c00d 100644 --- a/stellaris/stellaris_utils.py +++ b/stellaris/stellaris_utils.py @@ -77,7 +77,7 @@ def copy_benchmarkfiles() -> None: def copy_save_from_network_drive(file_name, destination): """copy save file from network drive""" - network_dir = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\03_ProcessingFiles\\Stellaris") + network_dir = Path("\\\\labs.lmg.gg\\labs\\03_ProcessingFiles\\Stellaris") source_path = network_dir.joinpath(file_name) logging.info("Copying %s from %s", file_name, source_path) shutil.copyfile(source_path, destination)