mirror of
https://github.com/janeczku/calibre-web.git
synced 2025-03-25 22:01:20 +02:00
Add monkey.patch for gevent
This commit is contained in:
parent
2e815147fb
commit
1a6579312f
5
cps.py
5
cps.py
@ -16,6 +16,11 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
try:
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
Loading…
x
Reference in New Issue
Block a user