mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix __repr__ in collection
This commit is contained in:
parent
ea07642c16
commit
2a7945f4be
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ class Collection:
|
||||||
def __repr__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
d = dict(self.__dict__)
|
d = dict(self.__dict__)
|
||||||
del d["models"]
|
del d["models"]
|
||||||
del d["backend"]
|
|
||||||
return f"{super().__repr__()} {pprint.pformat(d, width=300)}"
|
return f"{super().__repr__()} {pprint.pformat(d, width=300)}"
|
||||||
|
|
||||||
def name(self) -> Any:
|
def name(self) -> Any:
|
||||||
|
|
Loading…
Reference in a new issue