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:
parent
50b91f9d7c
commit
9714fc3299
@ -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 New Issue
Block a user