Verified Commit 5b7b03cb authored by Vojtech Myslivec's avatar Vojtech Myslivec
Browse files

mox_otp: Clear constants imports

parent f7a3c02b
......@@ -9,7 +9,7 @@ from .checks import check_mac, check_serial, check_pubkey
from .exceptions import MoxOtpApiError, MoxOtpSetupError, MoxOtpUsageError
from .helpers import errprint, first_line_of_file, hash_type
from .__init__ import MAC_PATH, PUBKEY_PATH, SERIAL_PATH, SIGN_PATH
from . import MAC_PATH, PUBKEY_PATH, SERIAL_PATH, SIGN_PATH
# number of bytes to read at once
CHUNK_SIZE = 1024
......
......@@ -7,7 +7,7 @@ import sys
from .helpers import hash_type_length
from .__init__ import __version__, HASH_TYPE
from . import __version__, HASH_TYPE
def type_hexstr(hexstr):
......
......@@ -8,7 +8,7 @@ from functools import wraps
from .exceptions import MoxOtpApiError, MoxOtpSetupError
from .helpers import first_line_of_file
from .__init__ import MAC_PATH, PUBKEY_PATH, SERIAL_PATH, SYSFS_ROOT
from . import MAC_PATH, PUBKEY_PATH, SERIAL_PATH, SYSFS_ROOT
def check_sysfs():
......
......@@ -7,7 +7,7 @@ import sys
from .exceptions import MoxOtpSetupError
from .__init__ import HASH_TYPE
from . import HASH_TYPE
def errprint(*args, **kwargs):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment