Commits

"Jas...@ubib.eur.nl>"  committed 16e7117

fixed wsgi script

  • Participants
  • Parent commits 9cccc41

Comments (0)

Files changed (1)

 import site
 import tempfile
 
-from paste.deploy import loadapp
 
 os.environ['PYTHON_EGG_CACHE'] = tempfile.mkdtemp(prefix='moai-egg-cache-')
 
                              'python%d.%d' % sys.version_info[:2],
                              'site-packages'))
 
+from paste.deploy import loadapp
 application = loadapp(
     'config:%s' % os.path.join(os.path.abspath(os.path.dirname(__file__)), 
                                'settings.ini'))