We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c4b6e6 commit d91d1a2Copy full SHA for d91d1a2
hubblestack/extmods/fileserver/azurefs.py
@@ -252,7 +252,8 @@ def update():
252
if os.path.exists(fname):
253
# File exists, check the hashes
254
source_md5 = blob.properties.content_settings.content_md5
255
- local_md5 = base64.b64encode(salt.utils.hashutils.get_hash(fname, 'md5').decode('hex'))
+ local_md5_hex = salt.utils.hashutils.get_hash(fname, 'md5')
256
+ local_md5 = base64.b64encode(bytes.fromhex(local_md5_hex))
257
if local_md5 != source_md5:
258
update = True
259
else:
0 commit comments