Power button tweaks from the hackathon.
[invirt/packages/invirt-web.git] / code / main.py
index 9d39df6..7513973 100755 (executable)
@@ -11,6 +11,7 @@ import simplejson
 import sys
 import time
 import urllib
+import random
 from StringIO import StringIO
 
 def revertStandardError():
@@ -663,6 +664,8 @@ class App:
         self.state = State(self.username)
         self.state.environ = environ
 
+        random.seed() #sigh
+
     def __iter__(self):
         start_time = time.time()
         sipb_xen_database.clear_cache()