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

Code fix for attribute error

This commit is contained in:
echel0n 2014-08-09 17:28:15 +00:00
parent 50b91f9d7c
commit 9714fc3299

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()]
return [x.name for x in gh.branches() if x and 'name' in x]