Skip to content

Commit

Permalink
issue #66
Browse files Browse the repository at this point in the history
  • Loading branch information
vbnunes-csw committed Jan 20, 2016
1 parent c26ec83 commit 90405b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/app-resources/bin/lulc_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,11 @@ def main():
Lmaxb7=output_l[14],
output=output,
season=season)
if del_images=='yes':
try:
shutil.rmtree(os.path.join(image_path,img))
except:
print "Unable to remove original image files. Continuing process..."
else:
print ('Image already in mapset. Skipping import to GRASS...')
imported.append(name_in_grass)
Expand Down

0 comments on commit 90405b4

Please sign in to comment.