code: Get contacts from previous parsing
This commit is contained in:
parent
cfe3bcc87c
commit
2704705ddf
@ -30,8 +30,9 @@ rssi = 3
|
|||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
# All the contacts [tim, uid_a, uid_b].
|
# Get contacts [tim, uid_a, uid_b] from previous parsing
|
||||||
cont = []
|
cont = lmdk_lib.load_data(args, 'cont')
|
||||||
|
if cont.size == 0:
|
||||||
try:
|
try:
|
||||||
print('Extracting %s... ' %(os.path.abspath(args.arc)), end='', flush=True)
|
print('Extracting %s... ' %(os.path.abspath(args.arc)), end='', flush=True)
|
||||||
with zipfile.ZipFile(args.arc, 'r') as arc:
|
with zipfile.ZipFile(args.arc, 'r') as arc:
|
||||||
|
Loading…
Reference in New Issue
Block a user