diff --git a/pdbr/_pdbr.py b/pdbr/_pdbr.py index 38fa707..cc8000d 100644 --- a/pdbr/_pdbr.py +++ b/pdbr/_pdbr.py @@ -327,7 +327,7 @@ def do_sql(self, arg): def displayhook(self, obj): if obj is not None: - self._print(repr(obj)) + self._print(obj if isinstance(obj, dict) else repr(obj)) def error(self, msg): self._print(msg, prefix="***", style="danger", print_layout=False) diff --git a/pyproject.toml b/pyproject.toml index ded7f35..122556a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pdbr" -version = "0.8.0" +version = "0.8.1" description = "Pdb with Rich library." authors = ["Can Sarigol "] packages = [ @@ -55,7 +55,7 @@ verbose = false [project] name = "pdbr" -version = "0.8.0" +version = "0.8.1" [tool.setuptools] py-modules = []