# HG changeset patch # User mdd # Date 1491493536 -7200 # Node ID 41083328ca82b6b671dc73f7eff9dd0f37b1dbb8 # Parent 9c3735aafdb60d90c790cd921d013b54dbdac591 bug :) diff -r 9c3735aafdb6 -r 41083328ca82 cylindertransport-web.py --- 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")