1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fixed AttributeError: 'dict' object has no attribute 'name' error

This commit is contained in:
echel0n 2014-08-09 06:22:54 +00:00
parent 1136e5c833
commit 7f8c170f67

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]