From a3a7389e89bbf0582353ad04acdfd95d6c793f2a Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sat, 15 Jul 2017 18:44:30 +0100 Subject: [PATCH] Correct number of seconds in a day. (Looks like a typo) --- diaspy/streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diaspy/streams.py b/diaspy/streams.py index 4e29b30..8db05be 100644 --- a/diaspy/streams.py +++ b/diaspy/streams.py @@ -130,7 +130,7 @@ class Generic(): """ self._stream = self._obtain() - def more(self, max_time=0, backtime=84600): + def more(self, max_time=0, backtime=86400): """Tries to download more (older posts) posts from Stream. :param backtime: how many seconds substract each time (defaults to one day) @@ -143,7 +143,7 @@ class Generic(): new_stream = self._obtain(max_time=max_time) self._expand(new_stream) - def full(self, backtime=84600, retry=42, callback=None): + def full(self, backtime=86400, retry=42, callback=None): """Fetches full stream - containing all posts. WARNING: this is a **VERY** long running function. Use callback parameter to access information about the stream during its -- 2.25.1