mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Fixes the following issue: - some code directly modifies the database, causing modified_in_python to be set to true - an undoable operation is run, which calls autosave() at the end - autosave() notices there's an undoable operation, and commits immediately - because modified_in_python was true, col.mtime was bumped in Python - that invalidated the undo queue, preventing the operation from being undone |
||
|---|---|---|
| .. | ||
| anki | ||
| rsbridge | ||
| tests | ||
| tools | ||
| .gitignore | ||
| .isort.cfg | ||
| .pylintrc | ||
| BUILD.bazel | ||
| mypy.ini | ||
| orjson.bzl | ||
| protobuf.bzl | ||
| README.md | ||
Anki's Python library code is in anki/.
The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.