Thu, 06 Apr 2017 17:45:36 +0200
bug :)
cylindertransport-web.py | file | annotate | diff | comparison | revisions |
--- a/cylindertransport-web.py Thu Apr 06 17:18:48 2017 +0200 +++ b/cylindertransport-web.py Thu Apr 06 17:45:36 2017 +0200 @@ -22,7 +22,8 @@ if args["action"].value == "calculate": cylinders = args.getlist("cylinders[]") calc = CylinderSpacerCalculator(cylinders) - calc.calculate() + # Bug... Calculate gets called by render_image, producing double circles list + #calc.calculate() image = calc.render_image() buffer = cStringIO.StringIO() image.save(buffer, format="PNG")