Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
STWonderFool authored Apr 7, 2024
1 parent bafcea5 commit 856f5c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def __init__(self, account_name, login, password, tm_api, mafile_name):
self.steam_api = self.get_my_steam_api()
break

self.sent_offers_messages = []
self.sent_offers_messages = {}

self.run()

Expand Down Expand Up @@ -600,7 +600,7 @@ def create_offers(self, offers):
# If session is ok, and trade offer need confirmation
if response.status_code == 200:
message(self.account_name, 'y>', f'Offer #{counter}/{len(offers)} creating..')
self.sent_offers_messages.append(offer['tradeoffermessage'])
self.sent_offers_messages[offer['tradeoffermessage']] = time()
sleep(1)
continue

Expand Down

0 comments on commit 856f5c1

Please sign in to comment.