none check on tmpdir

pull/979/head
Piero Toffanin 2019-05-01 08:56:56 -04:00
rodzic cc40e2e14f
commit b10b0fa88c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,7 @@ def compute_cutline(orthophoto_file, crop_area_file, destination, max_concurrenc
from opendm.grass_engine import grass
log.ODM_DEBUG("Computing cutline")
if not io.dir_exists(tmpdir):
if tmpdir and not io.dir_exists(tmpdir):
system.mkdir_p(tmpdir)
try: