From: CYBERDEViLNL Date: Wed, 6 Mar 2019 23:13:33 +0000 (+0100) Subject: Fix issue https://github.com/marekjm/diaspy/issues/47 - `Retrieving more posts, or... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7e45d630d34cf99ee84ad75e26a2de07a3127229;p=diaspy.git Fix issue https://github.com/marekjm/diaspy/issues/47 - `Retrieving more posts, or the full post list, fails with AttributeError` --- 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()