From 7e45d630d34cf99ee84ad75e26a2de07a3127229 Mon Sep 17 00:00:00 2001 From: CYBERDEViLNL Date: Thu, 7 Mar 2019 00:13:33 +0100 Subject: [PATCH] Fix issue https://github.com/marekjm/diaspy/issues/47 - `Retrieving more posts, or the full post list, fails with AttributeError` --- diaspy/streams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diaspy/streams.py b/diaspy/streams.py index 5a6a95a..2241c59 100644 --- a/diaspy/streams.py +++ b/diaspy/streams.py @@ -513,6 +513,6 @@ class Tag(Generic): :param tag: tag name :type tag: str """ + location = 'tags/{0}.json'.format(tag) + super().__init__(connection, location.format(tag), fetch=fetch) self._connection = connection - self._location = 'tags/{0}.json'.format(tag) - if fetch: self.fill() -- 2.25.1