Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::rapid::CopyPhotos::cleanUp (   self  ) 

Deletes temporary files and folders

Definition at line 3000 of file rapid.py.

03000                      :
        Deletes temporary files and folders

        for tempWorkingDir in (self.videoTempWorkingDir, self.photoTempWorkingDir):
            if tempWorkingDir:
                # possibly delete any lingering files
                if os.path.isdir(tempWorkingDir):
                    tf = os.listdir(tempWorkingDir)
                    if tf:
                        for f in tf:
                            os.remove(os.path.join(tempWorkingDir, f))
    def quit(self):

Generated by  Doxygen 1.6.0   Back to index