Skip to content

Commit

Permalink
Update v2
Browse files Browse the repository at this point in the history
  • Loading branch information
STWonderFool authored Apr 7, 2024
1 parent 5bf06a2 commit f89ba73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ from time import sleep, time
from traceback import format_exc
from urllib.parse import quote

from MySteam.login import LoginExecutor
from MySteam.steam import get_sent_offers
from bs4 import BeautifulSoup
from notifiers import get_notifier
from printy import printy
from requests import get, post
from requests.utils import dict_from_cookiejar
from steampy.confirmation import ConfirmationExecutor
from MySteam.login import LoginExecutor
from MySteam.steam import get_sent_offers

stop_flag = False

Expand Down Expand Up @@ -546,7 +546,7 @@ class ItemsSender:
message(self.login, 'r', 'Error getting sent offers list')
continue
for trade_id in offers:
trade_message = offers[trade_id]
trade_message = offers[trade_id]['trade_message']
if trade_message in self.sent_offers_messages and time() - self.sent_offers_messages[trade_message] > 600:
try:
self.cancel_trade_offer(trade_id)
Expand Down

0 comments on commit f89ba73

Please sign in to comment.