MerginMaps / work-packages

Mergin Maps Work Packages: manage field surveys for multiple teams
MIT License
7 stars 4 forks source link

clean the temp file after the run #26

Closed saberraz closed 3 years ago

saberraz commented 3 years ago

I have ended up with lots of folders. the temp files remain in place after the tool finishes running.

wonder-sk commented 3 years ago

What temp files, and where are they left?

dracic commented 3 years ago

This one:


51 # this will create a directory with a random name, e.g. /tmp/mergin-work-packages-w7tbsyd7
52 tmp_dir = tempfile.mkdtemp(prefix="mergin-work-packages-")