0

Fix error reporting in genpoi when a bad dimension is specified

This commit is contained in:
Andrew Chin
2013-09-26 14:13:54 -04:00
parent ae393ccc2c
commit fe42ed4165

View File

@@ -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']: