mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05:00
Merge pull request #847 from adam111316/fix_notifiers
Fix git checkout when notifiers are enabled
This commit is contained in:
commit
4e70054af2
@ -543,9 +543,11 @@ class GitUpdateManager(UpdateManager):
|
|||||||
output, err, exit_status = self._run_git(self._git_path, 'checkout -f ' + self.branch) # @UnusedVariable
|
output, err, exit_status = self._run_git(self._git_path, 'checkout -f ' + self.branch) # @UnusedVariable
|
||||||
|
|
||||||
if exit_status == 0:
|
if exit_status == 0:
|
||||||
|
self._find_installed_version()
|
||||||
|
|
||||||
# Notify update successful
|
# Notify update successful
|
||||||
if sickbeard.NOTIFY_ON_UPDATE:
|
if sickbeard.NOTIFY_ON_UPDATE:
|
||||||
notifiers.notify_git_update(self._newest_commit_hash[:10])
|
notifiers.notify_git_update(sickbeard.CUR_COMMIT_HASH if sickbeard.CUR_COMMIT_HASH else "")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user