bugfix: parse the scale min/max as float, not int
This commit is contained in:
parent
55f18d885e
commit
ec196cab0b
1 changed files with 1 additions and 1 deletions
|
|
@ -751,7 +751,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if myscale:
|
if myscale:
|
||||||
scale = map(int,myscale.split(","))
|
scale = map(float,myscale.split(","))
|
||||||
logging.debug("user-defined scale: %i,%i" % (scale))
|
logging.debug("user-defined scale: %i,%i" % (scale))
|
||||||
|
|
||||||
# use the generator: output lines as they come
|
# use the generator: output lines as they come
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue