mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-24 06:51:39 +00:00
Change the option from --smb to --business
This commit is contained in:
@@ -178,11 +178,11 @@ def main():
|
|||||||
help="Import JSON file and convert to HTML output"
|
help="Import JSON file and convert to HTML output"
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--smb",
|
"--business",
|
||||||
dest="smb",
|
dest="business",
|
||||||
default=False,
|
default=False,
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help="Use Whatsapp Business default files (iphone only)"
|
help="Use Whatsapp Business default files (iOS only)"
|
||||||
)
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
@@ -206,6 +206,9 @@ def main():
|
|||||||
elif args.import_json and not os.path.isfile(args.json):
|
elif args.import_json and not os.path.isfile(args.json):
|
||||||
print("JSON file not found.")
|
print("JSON file not found.")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
if args.android and args.business:
|
||||||
|
print("WhatsApp Business is only available on iOS for now.")
|
||||||
|
exit(1)
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user