From 820216f34b22346cc3ba169966def9caff73521f Mon Sep 17 00:00:00 2001 From: Michael Aschauer Date: Sun, 14 Dec 2014 18:55:07 +0100 Subject: [PATCH] switch to float --- stitchcode/backend/save.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stitchcode/backend/save.py b/stitchcode/backend/save.py index fbfc209d..70f69570 100755 --- a/stitchcode/backend/save.py +++ b/stitchcode/backend/save.py @@ -21,8 +21,8 @@ def main(): #sys.stderr.write(hashlib.sha1(str(time.time())).hexdigest()) for i in range(0, len(xarr)): - x = int(xarr[i]) - y = int(yarr[i])*-1; + x = float(xarr[i]) + y = float(yarr[i])*-1; if jarr[i] == "true": j = True else: