mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 22:23:36 -07:00
Update plexpy/versioncheck.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
This commit is contained in:
parent
61b2298cda
commit
88a5c895a7
1 changed files with 3 additions and 3 deletions
|
@ -101,9 +101,9 @@ def get_version():
|
||||||
else:
|
else:
|
||||||
cur_commit_hash = str(output)
|
cur_commit_hash = str(output)
|
||||||
|
|
||||||
if not re.match('^[a-z0-9]+$', str(cur_commit_hash)):
|
if not re.match('^[a-z0-9]+$', cur_commit_hash):
|
||||||
logger.error('Output does not look like a hash, not using it.')
|
logger.error('Output does not look like a hash, not using it.')
|
||||||
cur_commit_hash = None
|
cur_commit_hash = None
|
||||||
|
|
||||||
if plexpy.CONFIG.DO_NOT_OVERRIDE_GIT_BRANCH and plexpy.CONFIG.GIT_BRANCH:
|
if plexpy.CONFIG.DO_NOT_OVERRIDE_GIT_BRANCH and plexpy.CONFIG.GIT_BRANCH:
|
||||||
remote_name = None
|
remote_name = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue