WhatsappBOT icon indicating copy to clipboard operation
WhatsappBOT copied to clipboard

Phone number format

Open gatopadre opened this issue 3 years ago • 2 comments

I try to use de app for chilean number with this format +569XXXXYYYY, the app told me ERROR: Please enter 12 digits for Phone number. Can you help me to solve that?... Thanks

gatopadre avatar Aug 13 '20 02:08 gatopadre

Delete the "if len(str(phone_number)) != 12: m1 = tk.Label(master, text="ERROR : Please enter 12 digits for Phone Number.", fg="red", bg="black")"

parts in the WhatsappBot.py file. (line 100-103,284-285) and try again.

aydinnyunus avatar Aug 13 '20 14:08 aydinnyunus

I already modified the if sentence to if len(str(phone_number)) > 11:, and also i change the message. Thanks a lot!

gatopadre avatar Aug 13 '20 15:08 gatopadre

i fixed that with if len(str(phone_number)) < 9

aydinnyunus avatar Sep 22 '22 12:09 aydinnyunus

no problem

aydinnyunus avatar Sep 22 '22 12:09 aydinnyunus