svghmi/svghmi.py
branchsvghmi
changeset 3218 76f1cd1291f4
parent 3214 bb314cdfc656
child 3267 5f20f391ae31
--- a/svghmi/svghmi.py	Thu Apr 01 15:51:24 2021 +0200
+++ b/svghmi/svghmi.py	Thu Apr 01 15:56:19 2021 +0200
@@ -451,8 +451,9 @@
 
             hasher = hashlib.md5()
             hmi_tree_root._hash(hasher)
+            pofiles = GetPoFiles(self.CTNPath())
             filestocheck = [svgfile] + \
-                           GetPoFiles(self.CTNPath()) + \
+                           (list(zip(*pofiles)[1]) if pofiles else []) + \
                            self.GetFontsFiles()
 
             for filetocheck in filestocheck: