mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix encoding error when setting up profile
https://anki.tenderapp.com/discussions/ankidesktop/30926-error-when-choosing-ukrainian-as-the-interface-language
This commit is contained in:
parent
d58dcd7d2e
commit
7e2305ac0c
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ create table if not exists profiles
|
||||||
if self.firstRun:
|
if self.firstRun:
|
||||||
self.create(_("User 1"))
|
self.create(_("User 1"))
|
||||||
p = os.path.join(self.base, "README.txt")
|
p = os.path.join(self.base, "README.txt")
|
||||||
open(p, "w").write(_("""\
|
open(p, "w", encoding="utf8").write(_("""\
|
||||||
This folder stores all of your Anki data in a single location,
|
This folder stores all of your Anki data in a single location,
|
||||||
to make backups easy. To tell Anki to use a different location,
|
to make backups easy. To tell Anki to use a different location,
|
||||||
please see:
|
please see:
|
||||||
|
|
Loading…
Reference in a new issue