Browse Source

fixes updates function for Python CherryPy

Keith Newman 10 years ago
parent
commit
8a6e75be53
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frameworks/Python/cherrypy/app.py

+ 1 - 0
frameworks/Python/cherrypy/app.py

@@ -101,6 +101,7 @@ class CherryPyBenchmark(object):
             world = cherrypy.request.db.query(World).get(id)
             world.randomNumber = rp()
             worlds.append(world.serialize())
+        cherrypy.request.db.commit()
         return worlds
 
     @cherrypy.expose