From 0f82bb05bbcfac888eb936d8065360bcab9de3aa Mon Sep 17 00:00:00 2001 From: Nic Wolfe <nic@wolfeden.ca> Date: Mon, 23 Apr 2012 19:40:34 -0600 Subject: [PATCH] Fix the github api wrapper to deal with non-master branches correctly --- sickbeard/gh_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/gh_api.py b/sickbeard/gh_api.py index 32bb9cec8..3ed976288 100644 --- a/sickbeard/gh_api.py +++ b/sickbeard/gh_api.py @@ -56,4 +56,4 @@ class GitHub(object): Returns a deserialized json object containing the commit info. See http://developer.github.com/v3/repos/commits/ """ - return self._access_API(['repos', user, repo, 'commits'], {'per_page': 100, 'branch': branch}) + return self._access_API(['repos', user, repo, 'commits'], {'per_page': 100, 'sha': branch}) -- GitLab