{"action":"opened","issue":{"url":"https://api.github.com/repos/pickleshare/pickleshare/issues/20","repository_url":"https://api.github.com/repos/pickleshare/pickleshare","labels_url":"https://api.github.com/repos/pickleshare/pickleshare/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/pickleshare/pickleshare/issues/20/comments","events_url":"https://api.github.com/repos/pickleshare/pickleshare/issues/20/events","html_url":"https://github.com/pickleshare/pickleshare/issues/20","id":144488040,"number":20,"title":"'int' object has no attribute 'startswith' when using an int as key","user":{"login":"masfaraud","id":14061753,"avatar_url":"https://avatars.githubusercontent.com/u/14061753?v=3","gravatar_id":"","url":"https://api.github.com/users/masfaraud","html_url":"https://github.com/masfaraud","followers_url":"https://api.github.com/users/masfaraud/followers","following_url":"https://api.github.com/users/masfaraud/following{/other_user}","gists_url":"https://api.github.com/users/masfaraud/gists{/gist_id}","starred_url":"https://api.github.com/users/masfaraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masfaraud/subscriptions","organizations_url":"https://api.github.com/users/masfaraud/orgs","repos_url":"https://api.github.com/users/masfaraud/repos","events_url":"https://api.github.com/users/masfaraud/events{/privacy}","received_events_url":"https://api.github.com/users/masfaraud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-30T07:32:10Z","updated_at":"2016-03-30T07:32:10Z","closed_at":null,"body":"Hi,\r\n\r\nI get: `'int' object has no attribute 'startswith'` when trying to give an int as a key.\r\n\r\nDetails:\r\n` File \"/usr/local/lib/python3.4/dist-packages/pickleshare.py\", line 90, in __setitem__\r\n    fil = self.root / key\r\n  File \"/usr/local/lib/python3.4/dist-packages/path.py\", line 255, in __div__\r\n    return self._next_class(self.module.join(self, rel))\r\n  File \"/usr/lib/python3.4/posixpath.py\", line 79, in join\r\n    if b.startswith(sep):\r\nAttributeError: 'int' object has no attribute 'startswith'`\r\n\r\nPython version: 3.4.3, pickleshare installed with pip, OS Linux Mint"}}