Fix issue https://github.com/marekjm/diaspy/issues/47 - `Retrieving more posts, or...
authorCYBERDEViLNL <CYBERDEViLNL@github.com>
Wed, 6 Mar 2019 23:13:33 +0000 (00:13 +0100)
committerCYBERDEViLNL <CYBERDEViLNL@github.com>
Wed, 6 Mar 2019 23:13:33 +0000 (00:13 +0100)
diaspy/streams.py

index 5a6a95a6a2b825480833614a3d5eb812fc8a20ea..2241c595c95a2af5e256a3b11900082ede610e96 100644 (file)
@@ -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()