From 1a6579312f5ba988fe1d29befb666c0a8147181b Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Mon, 20 Dec 2021 20:43:28 +0100 Subject: [PATCH] Add monkey.patch for gevent --- cps.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cps.py b/cps.py index ab9896ce..277da288 100755 --- a/cps.py +++ b/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 . +try: + from gevent import monkey + monkey.patch_all() +except ImportError: + pass import sys import os