Skip to content

Commit

Permalink
Add monkey.patch for gevent
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzieIsaacs committed Dec 20, 2021
1 parent 2e81514 commit 1a65793
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a65793

Please sign in to comment.