diff --git a/edlclient/Library/sahara.py b/edlclient/Library/sahara.py index 8db4b21..8e28d53 100755 --- a/edlclient/Library/sahara.py +++ b/edlclient/Library/sahara.py @@ -7,7 +7,7 @@ import os import sys import logging import inspect -from struct import unpack, pack +from struct import pack current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parent_dir = os.path.dirname(current_dir) sys.path.insert(0, parent_dir) @@ -171,27 +171,30 @@ class sahara(metaclass=LogBase): def cmdexec_get_serial_num(self): res = self.cmd_exec(exec_cmd_t.SAHARA_EXEC_CMD_SERIAL_NUM_READ) - return unpack("