fixed imports
This commit is contained in:
parent
28d172bec7
commit
4a5645d9aa
|
@ -6,7 +6,7 @@ import random
|
||||||
try:
|
try:
|
||||||
from pyelliptic.openssl import OpenSSL
|
from pyelliptic.openssl import OpenSSL
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from pybitmessage.pyelliptic.openssl import OpenSSL
|
from .pyelliptic.openssl import OpenSSL
|
||||||
|
|
||||||
NoneType = type(None)
|
NoneType = type(None)
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,10 @@ try:
|
||||||
from pyelliptic import OpenSSL
|
from pyelliptic import OpenSSL
|
||||||
from pyelliptic import arithmetic as a
|
from pyelliptic import arithmetic as a
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from pybitmessage import pyelliptic
|
from . import pyelliptic
|
||||||
from pybitmessage.bmconfigparser import BMConfigParser
|
from .bmconfigparser import BMConfigParser
|
||||||
from pybitmessage.pyelliptic import OpenSSL
|
from .pyelliptic import OpenSSL
|
||||||
from pybitmessage.pyelliptic import arithmetic as a
|
from .pyelliptic import arithmetic as a
|
||||||
|
|
||||||
|
|
||||||
def makeCryptor(privkey):
|
def makeCryptor(privkey):
|
||||||
|
|
|
@ -25,16 +25,16 @@ try:
|
||||||
from helper_sql import sqlExecute
|
from helper_sql import sqlExecute
|
||||||
from version import softwareVersion
|
from version import softwareVersion
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from pybitmessage import defaults
|
from . import defaults
|
||||||
from pybitmessage import highlevelcrypto
|
from . import highlevelcrypto
|
||||||
from pybitmessage import state
|
from . import state
|
||||||
from pybitmessage.addresses import (
|
from .addresses import (
|
||||||
encodeVarint, decodeVarint, decodeAddress, varintDecodeError)
|
encodeVarint, decodeVarint, decodeAddress, varintDecodeError)
|
||||||
from pybitmessage.bmconfigparser import BMConfigParser
|
from .bmconfigparser import BMConfigParser
|
||||||
from pybitmessage.debug import logger
|
from .debug import logger
|
||||||
from pybitmessage.fallback import RIPEMD160Hash
|
from .fallback import RIPEMD160Hash
|
||||||
from pybitmessage.helper_sql import sqlExecute
|
from .helper_sql import sqlExecute
|
||||||
from pybitmessage.version import softwareVersion
|
from .version import softwareVersion
|
||||||
|
|
||||||
PY3 = sys.version_info[0] >= 3
|
PY3 = sys.version_info[0] >= 3
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user