mirror of
https://github.com/makefu/bump.git
synced 2024-03-22 11:32:52 +01:00
add utf-8 support
This commit is contained in:
parent
3f1714ab7d
commit
498703cb18
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ def store(key, value):
|
||||||
f.write(bytes(value, "UTF-8"))
|
f.write(bytes(value, "UTF-8"))
|
||||||
except:
|
except:
|
||||||
# py2
|
# py2
|
||||||
f.write(value)
|
f.write(value.encode("UTF-8"))
|
||||||
|
|
||||||
|
|
||||||
def retrieve(key):
|
def retrieve(key):
|
||||||
|
|
Loading…
Reference in a new issue