bug :)

Thu, 06 Apr 2017 17:45:36 +0200

author
mdd
date
Thu, 06 Apr 2017 17:45:36 +0200
changeset 21
41083328ca82
parent 20
9c3735aafdb6
child 22
08f0118587d7

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")

mercurial