Skip to content

Commit 28407fb

Browse files
committed
Updated echo example
Updated dependency
1 parent 624dba4 commit 28407fb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To start a new conversation, there are two options:
5454

5555
## License key
5656
How to get an License key:
57-
1. Go to [Gumroad](https://gumroad.com/a/825717875)
57+
1. Go to [Gumroad](https://gumroad.com/mrodal#dhED)
5858
2. Select one of the tiers that includes the key (anyone but the first)
5959
3. At checkout enter the phone number with which you are going to use the bot and the reason why you need this key
6060

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ cryptography
66
typing
77
Pillow
88
requests
9-
python-magic
9+
python-magic-bin

sample/echo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
driver = WhatsAPIDriver()
66
print("Waiting for QR")
7-
driver.wait_for_login()
7+
while not driver.wait_for_login():
8+
time.sleep(3)
89

910
print("Bot started")
1011

0 commit comments

Comments
 (0)