mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -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)
|
||||
return False
|
||||
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
|
||||
else:
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue