comparison bin/paintserver @ 2187:ccdfdc8183ad

remove py2-style 'object' superclass
author drewp@bigasterisk.com
date Fri, 19 May 2023 21:14:01 -0700
parents 9aa046cc9b33
children
comparison
equal deleted inserted replaced
2186:04612ba3fe45 2187:ccdfdc8183ad
56 img = self.settings.solver.draw(painting) 56 img = self.settings.solver.draw(painting)
57 outSettings = self.settings.solver.bestMatches(img, devs) 57 outSettings = self.settings.solver.bestMatches(img, devs)
58 self.write(json.dumps({'settings': outSettings.asList()})) 58 self.write(json.dumps({'settings': outSettings.asList()}))
59 59
60 60
61 class App(object): 61 class App:
62 62
63 def __init__(self, show, session): 63 def __init__(self, show, session):
64 self.show = show 64 self.show = show
65 self.session = session 65 self.session = session
66 66