From 3e16acbebd2c6669c1bbe5a7e3bb313aa1494e20 Mon Sep 17 00:00:00 2001 From: peusterm Date: Mon, 14 May 2018 18:52:00 +0200 Subject: [PATCH] Fix: Crashbug that was caused by an import of an outdated module that was removed from Gevent 1.3 that was released two days ago. Change-Id: I44dff2b468456ed2c24fa8e326ebc535bb04344b Signed-off-by: peusterm --- setup.py | 3 ++- src/emuvim/api/rest/rest_api_endpoint.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index a28df09..94f632f 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,8 @@ setup(name='emuvim', 'requests', 'prometheus_client', 'ipaddress', - 'simplejson' + 'simplejson', + 'gevent' ], zip_safe=False, entry_points={ diff --git a/src/emuvim/api/rest/rest_api_endpoint.py b/src/emuvim/api/rest/rest_api_endpoint.py index 0539e7d..a980dc9 100755 --- a/src/emuvim/api/rest/rest_api_endpoint.py +++ b/src/emuvim/api/rest/rest_api_endpoint.py @@ -30,7 +30,7 @@ import logging import threading from flask import Flask from flask_restful import Api -from gevent.wsgi import WSGIServer +from gevent.pywsgi import WSGIServer # need to import total module to set its global variable dcs import compute -- 2.25.1