(self, basePath="./", ext=".jpg")
| 4 | |
| 5 | class TempFile: |
| 6 | def __init__(self, basePath="./", ext=".jpg"): |
| 7 | # construct the file path |
| 8 | self.path = "{base_path}/{rand}{ext}".format(base_path=basePath, rand=str(uuid.uuid4()), |
| 9 | ext=ext) |
| 10 | |
| 11 | def cleanup(self): |
| 12 | # remove the file |
nothing calls this directly
no outgoing calls
no test coverage detected