1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-23 18:17:24 +00:00

Add monkey.patch for gevent

This commit is contained in:
Ozzie Isaacs 2021-12-20 20:43:28 +01:00
parent 2e815147fb
commit 1a6579312f

5
cps.py
View File

@ -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