Skip to content

Transform your 3D texturing workflow with the power of generative AI, directly within Blender!

m: fix installer python 3.12+ syntaxwarning for invalid regex escape sequence.

Zemanf39ee51d1e0a
diff --git a/installer.py b/installer.py
index 778baf1..e7a758b 100644
--- a/installer.py
+++ b/installer.py
@@ -1136,7 +1136,7 @@ def _patch_comfy_env_distinfo_normalize(comfyui_path: Path):
# We use a raw string for the regex backslashes, but f-string needed for anchor/marker.
# To keep it simple, we use a normal string and .replace() instead of f-string
- _raw_patch = """ANCHOR
+ _raw_patch = r"""ANCHOR
MARKER
try:
_orig_subprocess_run = subprocess.run