Fix "global name 'hub' is not defined"

This commit is contained in:
David Wolever 2013-11-25 17:34:38 -05:00
parent 2956361984
commit 3be526abed

View File

@ -188,7 +188,7 @@ class GeventWorker(AsyncWorker):
self.patch()
# reinit the hub
from gevent.hub import reinit
from gevent import hub
hub.reinit()
# then initialize the process