mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 05:13:16 -07:00
Added more code to insure NZBTOMEDIA_VERSION variable is not set to None by mistake.
This commit is contained in:
parent
c7a24b49b3
commit
657fe66b66
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@ class GitUpdateManager(UpdateManager):
|
||||||
logger.log(u"Output doesn't look like a hash, not using it", logger.ERROR)
|
logger.log(u"Output doesn't look like a hash, not using it", logger.ERROR)
|
||||||
return False
|
return False
|
||||||
self._cur_commit_hash = cur_commit_hash
|
self._cur_commit_hash = cur_commit_hash
|
||||||
nzbtomedia.NZBTOMEDIA_VERSION = self._cur_commit_hash
|
if self._cur_commit_hash:
|
||||||
|
nzbtomedia.NZBTOMEDIA_VERSION = self._cur_commit_hash
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue