From ebfb0f9a66efe207006c1cc65f3be55fa40837cb Mon Sep 17 00:00:00 2001 From: alban Date: Fri, 2 Aug 2019 00:24:25 +0200 Subject: [PATCH] [wip] --- slider2json.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/slider2json.py b/slider2json.py index c61c1f9..b2821bf 100644 --- a/slider2json.py +++ b/slider2json.py @@ -3,8 +3,6 @@ from Tkinter import * import time import json -from json import encoder -encoder.FLOAT_REPR = lambda o: format(o, '.2f') class PrettyFloat(float): def __repr__(self): @@ -28,8 +26,6 @@ class App(): self.update_clock() self.root.mainloop() -#{"velocity" : 0.0010,"expressivity" : 0.972,"sensibility" : 0.95,"beauty": 0.3} - def update_clock(self): velocity = float(self.w1.get())/1000