Skip to content

Commit

Permalink
added logout so it doesn't cahce sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
jerredrogero committed Sep 30, 2024
1 parent 3010c3c commit d47c912
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from amazonorders.session import AmazonSession
from amazonorders.orders import AmazonOrders

amazon_session = AmazonSession("EMAIL",
"PASSWORD")
amazon_session = AmazonSession("Email",
"Password")

# Clear existing session by logging out
amazon_session.logout()
amazon_session.login()

amazon_orders = AmazonOrders(amazon_session)
Expand Down

0 comments on commit d47c912

Please sign in to comment.