{"action":"closed","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2148","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2148/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2148/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/2148/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/2148","id":95336006,"number":2148,"title":"UnboundLocalError: local variable 'resp' referenced before assignment","user":{"login":"fernandog","id":2620870,"avatar_url":"https://avatars.githubusercontent.com/u/2620870?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandog","html_url":"https://github.com/fernandog","followers_url":"https://api.github.com/users/fernandog/followers","following_url":"https://api.github.com/users/fernandog/following{/other_user}","gists_url":"https://api.github.com/users/fernandog/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandog/subscriptions","organizations_url":"https://api.github.com/users/fernandog/orgs","repos_url":"https://api.github.com/users/fernandog/repos","events_url":"https://api.github.com/users/fernandog/events{/privacy}","received_events_url":"https://api.github.com/users/fernandog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Bug%20/%20issue","name":"1: Bug / issue","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T02:53:12Z","updated_at":"2015-07-16T11:06:39Z","closed_at":"2015-07-16T11:06:39Z","body":"AA\r\nAAUnboundLocalError: local variable 'resp' referenced before assignment\r\nAA    if isinstance(resp, dict) and resp.get('status', False) == 'failure':\r\nAA  File \"/home/osmc/SickRage/lib/trakt/trakt.py\", line 122, in traktRequest\r\nAA    TraktShowWatchlist = self.trakt_api.traktRequest(\"sync/watchlist/shows\")\r\nAA  File \"/home/osmc/SickRage/sickbeard/traktChecker.py\", line 468, in _getShowWatchlist\r\nAA    if self._getShowWatchlist():\r\nAA  File \"/home/osmc/SickRage/sickbeard/traktChecker.py\", line 233, in syncWatchlist\r\nAA    self.syncWatchlist()\r\nAA  File \"/home/osmc/SickRage/sickbeard/traktChecker.py\", line 82, in run"}}