SVGHMI: prevent systematic rebuild when there are multiple instances of SVGHMI CTN.
authorEdouard Tisserant
Fri, 29 Oct 2021 10:27:31 +0200
changeset 3375 aa25c89a8845
parent 3374 9a82918e063c
child 3376 83ed4ea362db
SVGHMI: prevent systematic rebuild when there are multiple instances of SVGHMI CTN.
svghmi/svghmi.py
--- a/svghmi/svghmi.py	Fri Oct 29 09:45:39 2021 +0200
+++ b/svghmi/svghmi.py	Fri Oct 29 10:27:31 2021 +0200
@@ -523,7 +523,7 @@
 
         build_path = self._getBuildPath()
         target_path = os.path.join(build_path, target_fname)
-        hash_path = os.path.join(build_path, "svghmi.md5")
+        hash_path = os.path.join(build_path, "svghmi_"+location_str+".md5")
 
         self.GetCTRoot().logger.write("SVGHMI:\n")