mirror of
https://github.com/Yubico/yubiadmin.git
synced 2025-02-20 14:54:30 +01:00
Remove unicode literal to work under python3.
This commit is contained in:
parent
b3a150a8d9
commit
d0ba5af7f0
@ -129,7 +129,7 @@ class FileConfig(DictMixin, object):
|
||||
self.content = unicode(file.read())
|
||||
except IOError as e:
|
||||
log.error(e)
|
||||
self.content = u''
|
||||
self.content = ''
|
||||
|
||||
def commit(self):
|
||||
with open(self.filename, 'w+') as file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user