{"action":"closed","issue":{"url":"https://api.github.com/repos/Azelphur/pyPushBullet/issues/21","labels_url":"https://api.github.com/repos/Azelphur/pyPushBullet/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Azelphur/pyPushBullet/issues/21/comments","events_url":"https://api.github.com/repos/Azelphur/pyPushBullet/issues/21/events","html_url":"https://github.com/Azelphur/pyPushBullet/issues/21","id":61158853,"number":21,"title":"TypeError: __init__() got an unexpected keyword argument 'mime'","user":{"login":"buzzbo","id":10805246,"avatar_url":"https://avatars.githubusercontent.com/u/10805246?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzbo","html_url":"https://github.com/buzzbo","followers_url":"https://api.github.com/users/buzzbo/followers","following_url":"https://api.github.com/users/buzzbo/following{/other_user}","gists_url":"https://api.github.com/users/buzzbo/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzbo/subscriptions","organizations_url":"https://api.github.com/users/buzzbo/orgs","repos_url":"https://api.github.com/users/buzzbo/repos","events_url":"https://api.github.com/users/buzzbo/events{/privacy}","received_events_url":"https://api.github.com/users/buzzbo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-13T17:51:40Z","updated_at":"2015-03-18T03:57:58Z","closed_at":"2015-03-18T03:57:58Z","body":"Get the following error when trying to push file using pushbullet_cmd.py:\r\n\r\n    $ ./pushbullet_cmd.py <mykey> file <mydevice> c.jpg\r\n    Traceback (most recent call last):\r\n      File \"./pushbullet_cmd.py\", line 153, in <module>\r\n        args.func(args)\r\n      File \"./pushbullet_cmd.py\", line 99, in pushFile\r\n        file = p.pushFile(args.device, os.path.basename(args.file), \"\", open(args.file, 'rb'))\r\n      File \"/home/pi/python/pyPushBullet/pushbullet.py\", line 171, in pushFile\r\n        mime = magic.Magic(mime=True)\r\n    TypeError: __init__() got an unexpected keyword argument 'mime'\r\n"}}