Add monkey.patch for gevent

This commit is contained in:
Ozzie Isaacs 2021-12-20 20:43:28 +01:00
parent 2e815147fb
commit 1a6579312f
1 changed files with 5 additions and 0 deletions

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