Un peu de ménage, opacité progressive, lors de l'upload.
[Portfolio.git] / manipulation.py
index a4623ba..9f65866 100755 (executable)
@@ -128,7 +128,7 @@ class ImageQueueProcessorThread(threading.Thread) :
                except ConflictError :
                        console.warn('Resync after ZODB ConflicError')
                        transaction.abort()
                except ConflictError :
                        console.warn('Resync after ZODB ConflicError')
                        transaction.abort()
-                       portal = app.unrestrictedTraverse(portal_path)
+                       portal = app.unrestrictedTraverse(self.portal_path)
                        portal._p_jar.sync()
                        self.queueAdd(path)
                        return
                        portal._p_jar.sync()
                        self.queueAdd(path)
                        return