Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Commit

Permalink
Revert "utils: fix bug when decoding"
Browse files Browse the repository at this point in the history
Causes failure in Tooz. Reverting for now:
224f409

This reverts commit 224f409.
  • Loading branch information
dims committed Aug 13, 2018
1 parent d9bf07c commit dab985c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcd3gw/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _decode(data):
"""
if not isinstance(data, bytes_types):
data = six.b(str(data))
return base64.b64decode(data).decode("utf-8")
return base64.b64decode(data.decode("utf-8"))


def _increment_last_byte(data):
Expand Down

0 comments on commit dab985c

Please sign in to comment.