code: Get contacts from previous parsing

This commit is contained in:
Manos Katsomallos 2021-09-22 22:02:25 +02:00
parent cfe3bcc87c
commit 2704705ddf

View File

@ -30,8 +30,9 @@ rssi = 3
def main(args):
# All the contacts [tim, uid_a, uid_b].
cont = []
# Get contacts [tim, uid_a, uid_b] from previous parsing
cont = lmdk_lib.load_data(args, 'cont')
if cont.size == 0:
try:
print('Extracting %s... ' %(os.path.abspath(args.arc)), end='', flush=True)
with zipfile.ZipFile(args.arc, 'r') as arc: