{"action":"created","issue":{"url":"https://api.github.com/repos/cannatag/ldap3/issues/83","labels_url":"https://api.github.com/repos/cannatag/ldap3/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/cannatag/ldap3/issues/83/comments","events_url":"https://api.github.com/repos/cannatag/ldap3/issues/83/events","html_url":"https://github.com/cannatag/ldap3/issues/83","id":94230463,"number":83,"title":"__str__ returned non-string in class Attribute","user":{"login":"hogneh","id":9567220,"avatar_url":"https://avatars.githubusercontent.com/u/9567220?v=3","gravatar_id":"","url":"https://api.github.com/users/hogneh","html_url":"https://github.com/hogneh","followers_url":"https://api.github.com/users/hogneh/followers","following_url":"https://api.github.com/users/hogneh/following{/other_user}","gists_url":"https://api.github.com/users/hogneh/gists{/gist_id}","starred_url":"https://api.github.com/users/hogneh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hogneh/subscriptions","organizations_url":"https://api.github.com/users/hogneh/orgs","repos_url":"https://api.github.com/users/hogneh/repos","events_url":"https://api.github.com/users/hogneh/events{/privacy}","received_events_url":"https://api.github.com/users/hogneh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-10T06:48:50Z","updated_at":"2015-08-03T11:15:14Z","closed_at":null,"body":"Hi\r\n\r\nWhen I print an Attribute which holds a non-string value (an int in this case) I get this error:\r\n\r\n```\r\n__str__ returned non-string (type int)\r\n```\r\n\r\nI believe the following will fix the issue:\r\n\r\n```\r\n@@ -63,7 +63,7 @@ class Attribute(object):\r\n \r\n     def __str__(self):\r\n         if len(self.values) == 1:\r\n-            return self.values[0]\r\n+            return str(self.values[0])\r\n         else:\r\n             return str(self.values)\r\n```"},"comment":{"url":"https://api.github.com/repos/cannatag/ldap3/issues/comments/127197788","html_url":"https://github.com/cannatag/ldap3/issues/83#issuecomment-127197788","issue_url":"https://api.github.com/repos/cannatag/ldap3/issues/83","id":127197788,"user":{"login":"hogneh","id":9567220,"avatar_url":"https://avatars.githubusercontent.com/u/9567220?v=3","gravatar_id":"","url":"https://api.github.com/users/hogneh","html_url":"https://github.com/hogneh","followers_url":"https://api.github.com/users/hogneh/followers","following_url":"https://api.github.com/users/hogneh/following{/other_user}","gists_url":"https://api.github.com/users/hogneh/gists{/gist_id}","starred_url":"https://api.github.com/users/hogneh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hogneh/subscriptions","organizations_url":"https://api.github.com/users/hogneh/orgs","repos_url":"https://api.github.com/users/hogneh/repos","events_url":"https://api.github.com/users/hogneh/events{/privacy}","received_events_url":"https://api.github.com/users/hogneh/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T11:15:14Z","updated_at":"2015-08-03T11:15:14Z","body":"Hi, yes it seems to work now."}}