Update plexpy/versioncheck.py

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
This commit is contained in:
James Tufarelli 2022-12-22 17:02:30 -08:00 committed by GitHub
commit 88a5c895a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ def get_version():
else:
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.')
cur_commit_hash = None