mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Code fix for attribute error
This commit is contained in:
parent
50b91f9d7c
commit
9714fc3299
@ -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 and 'name' in x]
|
Loading…
Reference in New Issue
Block a user