changed http server to gevent from flask built in

This commit is contained in:
Kevin Froman 2018-05-01 02:25:31 -05:00
parent a7244b2a0a
commit 0d9e0c7066
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
3 changed files with 21 additions and 8 deletions

View file

@ -21,7 +21,11 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
import sys, os, base64, random, getpass, shutil, subprocess, requests, time, platform, datetime, re
import sys
if sys.version_info[0] == 2 or sys.version_info[1] < 5:
print('Error, Onionr requires Python 3.4.x+')
sys.exit(1)
import base64, random, getpass, shutil, subprocess, requests, time, platform, datetime, re
from threading import Thread
import api, core, config, logger, onionrplugins as plugins, onionrevents as events
from onionrutils import OnionrUtils