Skip to content

Commit

Permalink
Add check
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Sep 18, 2024
1 parent 11d8ed2 commit 11891cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions book/people.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ tags: [remove-cell]
---
# Use the GH CLI to print all of the records in our time off table
cmd = "gh project item-list 39 --owner 2i2c-org -L 500 --format json"
try:
out = run(cmd.split(), text=True, capture_output=True, check=True)
except Exception:
raise ValueError(out.stderr)
out = run(cmd.split(), text=True, capture_output=True, check=True)
# Strip the output of all color codes and parse it as JSON, then a dataframe
def strip_ansi(text):
Expand Down

0 comments on commit 11891cc

Please sign in to comment.