From 2a7945f4bea0292b2f25974ce319a63f09eedc9f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 20 Feb 2021 13:57:53 +1000 Subject: [PATCH] fix __repr__ in collection --- pylib/anki/collection.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pylib/anki/collection.py b/pylib/anki/collection.py index 511e01353..2ca41415d 100644 --- a/pylib/anki/collection.py +++ b/pylib/anki/collection.py @@ -84,7 +84,6 @@ class Collection: def __repr__(self) -> str: d = dict(self.__dict__) del d["models"] - del d["backend"] return f"{super().__repr__()} {pprint.pformat(d, width=300)}" def name(self) -> Any: