Răsfoiți Sursa

fix: the latest gunicorn remove six

now can be used in py2 and py3
vissssa 6 ani în urmă
părinte
comite
aaedcc3912
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Api/ProxyApi.py

+ 1 - 1
Api/ProxyApi.py

@@ -87,7 +87,7 @@ def getStatus():
 
 if platform.system() != "Windows":
     import gunicorn.app.base
-    from gunicorn.six import iteritems
+    from six import iteritems
 
 
     class StandaloneApplication(gunicorn.app.base.BaseApplication):