mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix for brnch checkouts from webui.
This commit is contained in:
parent
818536fcb4
commit
4ff4ebb0d6
1 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ class GitUpdateManager(UpdateManager):
|
|||
self.github_repo = self.get_github_repo()
|
||||
|
||||
self.branch = sickbeard.BRANCH
|
||||
if not sickbeard.BRANCH or not sickbeard.BRANCH == '':
|
||||
if not sickbeard.BRANCH or sickbeard.BRANCH == '':
|
||||
self.branch = self._find_installed_branch()
|
||||
|
||||
self._cur_commit_hash = None
|
||||
|
@ -539,7 +539,7 @@ class SourceUpdateManager(UpdateManager):
|
|||
self.github_repo = self.get_github_repo()
|
||||
|
||||
self.branch = sickbeard.BRANCH
|
||||
if not sickbeard.BRANCH or not sickbeard.BRANCH == '':
|
||||
if not sickbeard.BRANCH or sickbeard.BRANCH == '':
|
||||
self.branch = self._find_installed_branch()
|
||||
|
||||
self._cur_commit_hash = None
|
||||
|
|
Loading…
Reference in a new issue