mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 14:13:40 -07:00
Update versioncheck to cast commit_hash to string
After the most recent v2.11.0 update, Tautulli would not start until I made this change to the codebase.
This commit is contained in:
parent
f6dd38ad12
commit
61b2298cda
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ def get_version():
|
|||
else:
|
||||
cur_commit_hash = str(output)
|
||||
|
||||
if not re.match('^[a-z0-9]+$', cur_commit_hash):
|
||||
if not re.match('^[a-z0-9]+$', str(cur_commit_hash)):
|
||||
logger.error('Output does not look like a hash, not using it.')
|
||||
cur_commit_hash = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue