From 18c15018358a4f09558c5323011bf79192021927 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 18 Sep 2020 13:45:05 +0200 Subject: [PATCH] Removed import_patched for 'requests.__init__', fixed issue in lib --- server-requirements.txt | 2 +- server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server-requirements.txt b/server-requirements.txt index 05d7651..131dcb5 100644 --- a/server-requirements.txt +++ b/server-requirements.txt @@ -1,4 +1,4 @@ -deemix>=1.3.7 +deemix>=1.3.9 flask flask-socketio eventlet diff --git a/server.py b/server.py index 5cabaac..ad8cff4 100644 --- a/server.py +++ b/server.py @@ -7,7 +7,7 @@ from os import path import json import eventlet -requests = eventlet.import_patched('requests.__init__') +requests = eventlet.import_patched('requests') urlopen = eventlet.import_patched('urllib.request').urlopen from datetime import datetime