fixed import error
This commit is contained in:
parent
10250f3730
commit
4954e6dba7
|
@ -3,7 +3,10 @@
|
|||
import os
|
||||
import random
|
||||
|
||||
from pyelliptic.openssl import OpenSSL
|
||||
try:
|
||||
from pyelliptic.openssl import OpenSSL
|
||||
except:
|
||||
from .pyelliptic.openssl import OpenSSL
|
||||
|
||||
NoneType = type(None)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import unittest
|
|||
#
|
||||
# skip_python3()
|
||||
|
||||
os.environ['BITMESSAGE_HOME'] = tempfile.gettempdir()
|
||||
# os.environ['BITMESSAGE_HOME'] = tempfile.gettempdir()
|
||||
from pybitmessage.helper_sql import (
|
||||
sqlQuery, sql_ready, sqlStoredProcedure, SqlBulkExecute, sqlExecuteScript, sqlExecute) # noqa:E402
|
||||
from pybitmessage.class_sqlThread import sqlThread, UpgradeDB # noqa:E402
|
||||
|
|
Reference in New Issue
Block a user