mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 03:48:02 -05:00
Fixed AttributeError: 'dict' object has no attribute 'name' error
This commit is contained in:
parent
1136e5c833
commit
7f8c170f67
@ -758,4 +758,4 @@ class SourceUpdateManager(UpdateManager):
|
|||||||
|
|
||||||
def list_remote_branches(self):
|
def list_remote_branches(self):
|
||||||
gh = github.GitHub(self.github_repo_user, self.github_repo, self.branch)
|
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]
|
Loading…
Reference in New Issue
Block a user