From 64166baed63ac14e8559f43b592d866b67365daa Mon Sep 17 00:00:00 2001 From: Markus Neteler Date: Mon, 24 Feb 2020 00:17:40 +0100 Subject: [PATCH] r.mblend addon: syntax fix --- grass7/raster/r.mblend/r.mblend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grass7/raster/r.mblend/r.mblend.py b/grass7/raster/r.mblend/r.mblend.py index 014df793c8..99831b6fe4 100755 --- a/grass7/raster/r.mblend/r.mblend.py +++ b/grass7/raster/r.mblend/r.mblend.py @@ -269,7 +269,7 @@ def main(): gscript.message(_("[r.mblend] Joining result into a single raster")) gscript.run_command('r.patch', input=high + ',' + smooth_low_res, output=output) - except Exception, ex: + except Exception as ex: gscript.error(_("[r.mblend] ERROR: Failed to create smoothed raster.")) exit()