Skip to content

Commit

Permalink
Automatic backup 2024-03-04
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Mar 5, 2024
1 parent 26d09cd commit 9bb7ff5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rich_tables/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def counts_table(data: List[JSONDict]) -> Table:
"added",
"committedDate",
# "created",
"date",
# "date",
"due",
# "end",
"entry",
Expand Down
14 changes: 7 additions & 7 deletions rich_tables/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@ def main() -> None:
if "-j" in args:
console.print_json(data=data)
else:
try:
for ret in draw_data(data):
console.print(ret)
except DispatchError as e:
if e.__cause__:
raise e.__cause__ from None
raise e
# try:
for ret in draw_data(data):
console.print(ret)
# except DispatchError as e:
# if e.__cause__:
# raise e.__cause__ from None
# raise e

if "-s" in set(args):
console.save_html("saved.html")
Expand Down

0 comments on commit 9bb7ff5

Please sign in to comment.