Commit 8ebb2355 authored by Jérome Perrin's avatar Jérome Perrin

erp5-show: more python3 fixes

parent 11c2d0f7
......@@ -83,7 +83,7 @@ def check_tables():
sys.exit(0)
def get_build_status(software_release):
sr_hash = hashlib.md5(software_release).hexdigest()
sr_hash = hashlib.md5(software_release.encode()).hexdigest()
try:
os.stat(os.path.join('/opt/slapgrid', sr_hash, '.completed'))
except OSError:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment