Code fixes, new features and refactoring in the field of user data and
[diaspy.git] / diaspy / settings.py
index ded22589228a3ebdb5a6beb3a9b53e370cd5e402..4e7971b1dcd46d6318c3a4980439426de03ba203 100644 (file)
@@ -168,7 +168,7 @@ class Profile():
     def getTags(self):
         """Returns tags user had selected when describing him/her-self.
         """
-        guid = self._connection.getUserInfo()['guid']
+        guid = self._connection.getUserData()['guid']
         html = self._connection.get('people/{0}'.format(guid)).text
         description_regexp = re.compile('<a href="/tags/(.*?)" class="tag">#.*?</a>')
         return [tag.lower() for tag in re.findall(description_regexp, html)]