1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fixed a typo

This commit is contained in:
echel0n 2014-07-28 17:33:08 -07:00
parent 326d0204c0
commit 331be097cb

View File

@ -281,7 +281,7 @@ class GitUpdateManager(UpdateManager):
self.github_repo = self.get_github_repo() self.github_repo = self.get_github_repo()
self.branch = sickbeard.BRANCH self.branch = sickbeard.BRANCH
if not (sickbeard.BRANCH or sickbeard.BRANCH == ''): if not sickbeard.BRANCH or not sickbeard.BRANCH == '':
self.branch = self._find_installed_branch() self.branch = self._find_installed_branch()
self._cur_commit_hash = None self._cur_commit_hash = None
@ -539,7 +539,7 @@ class SourceUpdateManager(UpdateManager):
self.github_repo = self.get_github_repo() self.github_repo = self.get_github_repo()
self.branch = sickbeard.BRANCH self.branch = sickbeard.BRANCH
if not (sickbeard.BRANCH or sickbeard.BRANCH == ''): if not sickbeard.BRANCH or not sickbeard.BRANCH == '':
self.branch = self._find_installed_branch() self.branch = self._find_installed_branch()
self._cur_commit_hash = None self._cur_commit_hash = None