Fix error reporting in genpoi when a bad dimension is specified
This commit is contained in:
@@ -167,7 +167,7 @@ def main():
|
|||||||
|
|
||||||
rset = w.get_regionset(render['dimension'][1])
|
rset = w.get_regionset(render['dimension'][1])
|
||||||
if rset == None: # indicates no such dimension was found:
|
if rset == None: # indicates no such dimension was found:
|
||||||
logging.error("Sorry, you requested dimension '%s' for %s, but I couldn't find it", render['dimension'][0], render_name)
|
logging.error("Sorry, you requested dimension '%s' for the render '%s', but I couldn't find it", render['dimension'][0], rname)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
for f in render['markers']:
|
for f in render['markers']:
|
||||||
|
|||||||
Reference in New Issue
Block a user