Commits

Ginés Martínez Sánchez committed c097587 Draft

developing wsgi server

Comments (0)

Files changed (2)

ginsfsm/examples/wsgi/simple_wsgi_server.ini

 [composite:main]
 use = call:ginsfsm.gaplic:gaplic_factory
 main = wsgi-server
-threads =
-subprocesses =
 others = wsgi-application
 
 [app:wsgi-server]

ginsfsm/gaplic.py

 
     """
     main = local_conf.get('main')
-    others = local_conf.get('others', []).split()
-    threads = local_conf.get('threads', []).split()
-    subprocesses = local_conf.get('subprocesses', []).split()
+    others = local_conf.get('others', '').split()
+    threads = local_conf.get('threads', '').split()
+    subprocesses = local_conf.get('subprocesses', '').split()
 
     for other in others:
         app = loader.get_app(other)