PurgeBlobs was faulty, but it was never having anything to purge. Fixed.
authorEdouard Tisserant
Fri, 12 Jul 2019 11:53:04 +0200
changeset 2623 26ba948a2e51
parent 2622 e10a1095f577
child 2624 570cf07c3fd1
child 2745 535eb0b8bd9d
PurgeBlobs was faulty, but it was never having anything to purge. Fixed.
runtime/PLCObject.py
--- a/runtime/PLCObject.py	Fri Jul 12 11:51:47 2019 +0200
+++ b/runtime/PLCObject.py	Fri Jul 12 11:53:04 2019 +0200
@@ -530,7 +530,7 @@
 
     @RunInMain
     def PurgeBlobs(self):
-        for fobj, _path, _md5sum in self.blobs:
+        for fobj, _path, _md5sum in self.blobs.values():
             os.close(fobj)
         self._init_blobs()