mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix "global name 'hub' is not defined"
This commit is contained in:
parent
2956361984
commit
3be526abed
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user