diff --git a/anki/db.py b/anki/db.py index 142696db4..7db4497c2 100644 --- a/anki/db.py +++ b/anki/db.py @@ -74,7 +74,4 @@ class DB(object): return self def __exit__(self, exc_type, *args): - if not exc_type: - # no exception, so commit - self._db.commit() self._db.close()