fix open() for python2 in buildozer

This commit is contained in:
Mathieu Virbel 2014-04-21 00:46:58 +02:00
parent 9bafe058c4
commit ec63e68161

View file

@ -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)