summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-23 04:21:37 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-23 04:21:37 +0300
commit6e00f7027269b0e6af8b1005a444b399f7931b6f (patch)
treeceeacf9179082651abbcbb32a820a3ba0ff08480
parent7841084147c4a2a34d0ede16c1d31edf397b62f5 (diff)
smshandler timestamp handling ifx
-rw-r--r--e3372.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/e3372.py b/e3372.py
index da61673..aa700e3 100644
--- a/e3372.py
+++ b/e3372.py
@@ -162,7 +162,7 @@ class SMSHandler:
messages = self.api.get_sms(10, 1)
for sms in reversed(messages):
ts = sms.timestamp()
- if state['last_timestamp'] > ts:
+ if state['last_timestamp'] >= ts:
continue
if ts > max_ts: