Fix version check

This commit is contained in:
delphiactual
2014-05-03 23:10:57 -06:00
parent 0457c3c30e
commit 7b115126c9

View File

@@ -76,7 +76,7 @@ def getVersion():
logger.error('Couldn\'t find latest installed version.')
cur_commit_hash = None
cur_commit_hash = output
cur_commit_hash = str(output)
if not re.match('^[a-z0-9]+$', cur_commit_hash):
logger.error('Output doesn\'t look like a hash, not using it')