mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Code fix for attribute error
This commit is contained in:
parent
50b91f9d7c
commit
9714fc3299
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
Loading…
Reference in a new issue