bugfix: parse the scale min/max as float, not int

This commit is contained in:
Johann Dreo 2013-05-30 10:32:26 +02:00
commit ec196cab0b

View file

@ -751,7 +751,7 @@ if __name__ == "__main__":
try:
if myscale:
scale = map(int,myscale.split(","))
scale = map(float,myscale.split(","))
logging.debug("user-defined scale: %i,%i" % (scale))
# use the generator: output lines as they come