Skip to content

Commit

Permalink
Automatic backup 2024-02-29
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Mar 1, 2024
1 parent 9763a73 commit af4923f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rich_tables/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ def tasks_table(tasks_by_group: Dict[str, JSONDict]) -> Iterator[Panel]:


def load_data() -> Any:
if sys.stdin.isatty():
return

text = sys.stdin.read().replace(r"\x00", "")
try:
data = json.loads(text or "{}", object_hook=OrderedDict)
Expand Down

0 comments on commit af4923f

Please sign in to comment.