--- cdli/cdli_files.py 2006/07/06 11:03:32 1.35 +++ cdli/cdli_files.py 2006/07/14 14:51:50 1.36 @@ -1638,7 +1638,7 @@ class CDLIRoot(Folder): thread=uploadATFThread() threadName=thread.getName()[0:] - if not hasattr(self,'_v_uploadATF'): + if (not hasattr(self,'_v_uploadATF')): self._v_uploadATF={} self._v_uploadATF[threadName]=thread @@ -1661,7 +1661,7 @@ class CDLIRoot(Folder): else: #recover thread, if lost - if not hasattr(self,'_v_uploadATF'): + if (not hasattr(self,'_v_uploadATF')): self._v_uploadATF={} if not self._v_uploadATF.get(threadName,None): for thread in threading.enumerate(): @@ -1723,8 +1723,10 @@ class CDLIRoot(Folder): if not threadName or threadName=="": thread=uploadATFfinallyThread() threadName=thread.getName()[0:] + if (not hasattr(self,'_v_uploadATF')): self._v_uploadATF={} + self._v_uploadATF[threadName]=thread