mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't escape unicode characters in add-on json
https://anki.tenderapp.com/discussions/ankidesktop/31423-configuration-module-of-addons-is-not-allowing-pt-br-accent
This commit is contained in:
parent
727570418c
commit
33ae6404f1
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ When loading '%(name)s':
|
|||
def writeAddonMeta(self, dir, meta):
|
||||
path = self._addonMetaPath(dir)
|
||||
with open(path, "w", encoding="utf8") as f:
|
||||
json.dump(meta, f)
|
||||
json.dump(meta, f, ensure_ascii=False)
|
||||
|
||||
def toggleEnabled(self, dir):
|
||||
meta = self.addonMeta(dir)
|
||||
|
|
Loading…
Reference in a new issue