From bad5ff339f8a3cb13ef0f8957b1c804d1497a4d9 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 7 Jan 2018 13:18:01 +0100 Subject: [PATCH] Latest push received in the last 5 seconds instead of 2 --- platypush/backend/pushbullet/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/pushbullet/__init__.py b/platypush/backend/pushbullet/__init__.py index d58fedcbf1..a9d9661c97 100644 --- a/platypush/backend/pushbullet/__init__.py +++ b/platypush/backend/pushbullet/__init__.py @@ -25,7 +25,7 @@ class PushbulletBackend(Backend): } def _get_latest_push(self): - t = int(time.time()) - 2 + t = int(time.time()) - 5 try: response = requests.get( u'https://api.pushbullet.com/v2/pushes',