Skip to content

Commit

Permalink
Update message-scheduler.py
Browse files Browse the repository at this point in the history
Former-commit-id: 5f67cf4
Former-commit-id: cb67b44
  • Loading branch information
rizwansoaib authored Feb 10, 2020
1 parent 844d8ad commit da537d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Script/message-scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def sendnow(name,message):
sleep(2)

with open('qr.png', 'wb') as file:
file.write(driver.find_element_by_xpath('/html/body/div[1]/div/div/div[2]/div[1]/div/div[2]/div/img').screenshot_as_png)
file.write(driver.find_element_by_xpath('/html/body/div[1]/div/div/div[2]/div[1]/div/div[2]/div/canvas').screenshot_as_png)
image = Image.open('qr.png')
print("Sucessfully QR code genereted")
image.show()
Expand Down

0 comments on commit da537d5

Please sign in to comment.