fix open() for python2 in buildozer
This commit is contained in:
parent
9bafe058c4
commit
ec63e68161
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,6 @@ class JsonStore(object):
|
|||
return self.data.keys()
|
||||
|
||||
def sync(self):
|
||||
with open(self.filename, 'w', encoding='utf-8') as fd:
|
||||
with io.open(self.filename, 'w', encoding='utf-8') as fd:
|
||||
dump(self.data, fd)
|
||||
|
||||
|
|
Loading…
Reference in a new issue