|
@@ -154,7 +154,7 @@ def main():
|
|
|
if not os.path.exists(os.path.join(gisdbase, location)):
|
|
|
sys.stderr.write("GRASS Location <{loc}>"
|
|
|
" does not exist in GRASS Database <{db}>\n".format(
|
|
|
- location, gisdbase))
|
|
|
+ loc=location, db=gisdbase))
|
|
|
sys.exit(1)
|
|
|
results_dir = args.output
|
|
|
silent_rmtree(results_dir) # TODO: too brute force?
|