mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-21 13:34:41 +00:00
Remove --iphone
This commit is contained in:
@@ -151,7 +151,7 @@ conversations in HTML and JSON. Android Backup Crypt12, Crypt14 and Crypt15 supp
|
|||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-a, --android Define the target as Android
|
-a, --android Define the target as Android
|
||||||
-i, --ios, --iphone Define the target as iPhone/iPad
|
-i, --ios, Define the target as iPhone/iPad
|
||||||
-e EXPORTED, --exported EXPORTED
|
-e EXPORTED, --exported EXPORTED
|
||||||
Define the target as exported chat file and specify the path to the file
|
Define the target as exported chat file and specify the path to the file
|
||||||
-w WA, --wa WA Path to contact database (default: wa.db/ContactsV2.sqlite)
|
-w WA, --wa WA Path to contact database (default: wa.db/ContactsV2.sqlite)
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ def main():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-i',
|
'-i',
|
||||||
'--ios',
|
'--ios',
|
||||||
'--iphone',
|
|
||||||
dest='ios',
|
dest='ios',
|
||||||
default=False,
|
default=False,
|
||||||
action='store_true',
|
action='store_true',
|
||||||
@@ -475,12 +474,6 @@ def main():
|
|||||||
db.row_factory = sqlite3.Row
|
db.row_factory = sqlite3.Row
|
||||||
contacts(db, data)
|
contacts(db, data)
|
||||||
elif args.ios:
|
elif args.ios:
|
||||||
import sys
|
|
||||||
if "--iphone" in sys.argv:
|
|
||||||
print(
|
|
||||||
"WARNING: The --iphone flag is deprecated and will"
|
|
||||||
"be removed in the future. Use --ios instead."
|
|
||||||
)
|
|
||||||
contacts = ios_handler.contacts
|
contacts = ios_handler.contacts
|
||||||
messages = ios_handler.messages
|
messages = ios_handler.messages
|
||||||
media = ios_handler.media
|
media = ios_handler.media
|
||||||
|
|||||||
Reference in New Issue
Block a user