Commit ddb9a05f authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed error message.

parent a0b4dd25
Pipeline #3265 passed with stage
in 18 minutes and 40 seconds
......@@ -465,7 +465,8 @@ class DEM_Creator(object):
:param db_conn: database connection string
"""
if dem_sensor not in ['SRTM', 'ASTER']:
raise ValueError('%s is not a supported DEM sensor. Choose between SRTM and ASTER (both 30m native GSD).')
raise ValueError('%s is not a supported DEM sensor. Choose between SRTM and ASTER (both 30m native GSD).'
% dem_sensor)
self.dem_sensor = dem_sensor
self.db_conn = db_conn if db_conn else CFG.conn_database
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment