From ec196cab0b6e08945228aa986b18e59097763530 Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Thu, 30 May 2013 10:32:26 +0200 Subject: [PATCH] bugfix: parse the scale min/max as float, not int --- colout/colout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colout/colout.py b/colout/colout.py index 70f77c7..2f756f3 100755 --- a/colout/colout.py +++ b/colout/colout.py @@ -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