Move pycrest to service (might move it to utils later, dunno)
This commit is contained in:
@@ -17,15 +17,13 @@
|
||||
# along with eos. If not, see <http://www.gnu.org/licenses/>.
|
||||
#===============================================================================
|
||||
|
||||
from sqlalchemy.orm import reconstructor
|
||||
import pycrest
|
||||
import config
|
||||
from pycrest import EVE
|
||||
from tomorrow import threads
|
||||
|
||||
import urllib
|
||||
from cStringIO import StringIO
|
||||
|
||||
from sqlalchemy.orm import reconstructor
|
||||
from tomorrow import threads
|
||||
|
||||
|
||||
class Crest(object):
|
||||
|
||||
def __init__(self, id, name, refresh_token=None):
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
import copy
|
||||
import uuid
|
||||
|
||||
from wx.lib.pubsub import pub
|
||||
|
||||
import eos.db
|
||||
from eos.types import Crest as CrestUser
|
||||
import pycrest
|
||||
import copy
|
||||
from service import pycrest
|
||||
import service
|
||||
from service.server import *
|
||||
import uuid
|
||||
import config
|
||||
from gui.utils.repeatedTimer import RepeatedTimer
|
||||
|
||||
from wx.lib.pubsub import setupkwargs
|
||||
from wx.lib.pubsub import pub
|
||||
|
||||
class Crest():
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
import os
|
||||
import base64
|
||||
import requests
|
||||
import time
|
||||
import zlib
|
||||
from pycrest import version
|
||||
from pycrest.compat import bytes_, text_
|
||||
from pycrest.errors import APIException
|
||||
from pycrest.weak_ciphers import WeakCiphersAdapter
|
||||
|
||||
import requests
|
||||
|
||||
from . import version
|
||||
from compat import bytes_, text_
|
||||
from errors import APIException
|
||||
from weak_ciphers import WeakCiphersAdapter
|
||||
|
||||
try:
|
||||
from urllib.parse import urlparse, urlunparse, parse_qsl
|
||||
Reference in New Issue
Block a user