1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fixes listing branches for when using source code

This commit is contained in:
Adam 2014-08-11 19:41:53 +08:00
parent 90146d33fa
commit 0abbdf3d44

View File

@ -758,4 +758,4 @@ class SourceUpdateManager(UpdateManager):
def list_remote_branches(self):
gh = github.GitHub(self.github_repo_user, self.github_repo, self.branch)
return [x.name for x in gh.branches() if x and 'name' in x]
return [x['name'] for x in gh.branches() if x and 'name' in x]