|
|
@ -26,8 +26,8 @@ class EvolutionCells:
|
|
|
|
for e in db[k].split('\r\n'):
|
|
|
|
for e in db[k].split('\r\n'):
|
|
|
|
if re.search("^FN:", e):
|
|
|
|
if re.search("^FN:", e):
|
|
|
|
name = re.sub("^FN:", "", e)
|
|
|
|
name = re.sub("^FN:", "", e)
|
|
|
|
if re.search("^TEL;TYPE=CELL:", e):
|
|
|
|
if re.search("^\.?TEL;TYPE=CELL.*?:", e):
|
|
|
|
cell = re.sub("^TEL;TYPE=CELL:", "", e)
|
|
|
|
cell = re.sub("^\.?TEL;TYPE=CELL.*?:", "", e)
|
|
|
|
if cell != "":
|
|
|
|
if cell != "":
|
|
|
|
contacts[name] = cell
|
|
|
|
contacts[name] = cell
|
|
|
|
|
|
|
|
|
|
|
|