Show different warning messages when enrich_from_vcards is set and contact db is empty

This commit is contained in:
KnugiHK
2025-02-20 23:46:26 +08:00
parent db577c8de6
commit 8c85656831
2 changed files with 6 additions and 3 deletions

View File

@@ -472,7 +472,7 @@ def main():
if os.path.isfile(contact_db):
with sqlite3.connect(contact_db) as db:
db.row_factory = sqlite3.Row
contacts(db, data)
contacts(db, data, args.enrich_from_vcards)
elif args.ios:
contacts = ios_handler.contacts
messages = ios_handler.messages