b64: don't add redundant padding.

master
Tom Hacohen 5 years ago
parent 2e018dfe76
commit 3db204e4bb

@ -28,7 +28,7 @@ def generate_rev_uid(length=32):
def b64encode(value):
return base64.urlsafe_b64encode(value).decode('ascii')
return base64.urlsafe_b64encode(value).decode('ascii').strip('=')
def b64decode(data):

Loading…
Cancel
Save