Skip to content

Commit

Permalink
Fixed for dict object print
Browse files Browse the repository at this point in the history
  • Loading branch information
cansarigol committed Jan 30, 2023
1 parent dc5f4a3 commit f8f6256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pdbr/_pdbr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pdbr"
version = "0.8.0"
version = "0.8.1"
description = "Pdb with Rich library."
authors = ["Can Sarigol <ertugrulsarigol@gmail.com>"]
packages = [
Expand Down Expand Up @@ -55,7 +55,7 @@ verbose = false

[project]
name = "pdbr"
version = "0.8.0"
version = "0.8.1"

[tool.setuptools]
py-modules = []

0 comments on commit f8f6256

Please sign in to comment.