Browse Source

Try to fix mldr shenanigans

master
Carlos Mogas da Silva 6 months ago
parent
commit
e5ac232d3e
  1. 2
      hugo_enc/__init__.py

2
hugo_enc/__init__.py

@ -86,7 +86,7 @@ def main():
block['data-password'].encode('utf-8'))
key = md5.hexdigest()
cryptor = AESCrypt(key)
text = ''.join(map(str, block.contents))
text = ''.join(map(str, block.contents)).replace("…", "…")
written = base64.b64encode(
cryptor.encrypt(text.encode('utf8')))

Loading…
Cancel
Save