mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
prevent people from shooting themselves in the foot
This commit is contained in:
parent
f969aec03f
commit
6a93e69fee
1 changed files with 4 additions and 0 deletions
|
@ -45,5 +45,9 @@ elif sys.version_info[1] < 5:
|
||||||
if sys.getfilesystemencoding().lower() in ("ascii", "ansi_x3.4-1968"):
|
if sys.getfilesystemencoding().lower() in ("ascii", "ansi_x3.4-1968"):
|
||||||
raise Exception("Anki requires a UTF-8 locale.")
|
raise Exception("Anki requires a UTF-8 locale.")
|
||||||
|
|
||||||
|
import os
|
||||||
|
if not os.path.exists(os.path.expanduser("~/.no-warranty")):
|
||||||
|
raise Exception("Don't use this without reading the forum thread")
|
||||||
|
|
||||||
version = "1.99"
|
version = "1.99"
|
||||||
from anki.storage import Deck
|
from anki.storage import Deck
|
||||||
|
|
Loading…
Reference in a new issue