Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed Oct 19, 2024
1 parent 788d639 commit 351e28e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions active_window/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _parse_csv_events(
# seems to be x-lib/encoding errors causing malformed application/file names
# catch those and ignore them
#
# seems to happen when computer force shuts down/x-server doesnt have a chance
# seems to happen when computer force shuts down/x-server doesn't have a chance
# to stop properly
if error_policy == "raise":
raise AWParserError(f"Error parsing {pth} {row} {e}", pth) from e
Expand All @@ -119,7 +119,7 @@ def _parse_json_events(pth: Path) -> Iterator[Union[AWAndroidEvent, AWComputerEv
data = json.loads(pth.read_text())
buckets = data["buckets"]
for val in buckets.values():
# check if this doesnt match schema
# check if this doesn't match schema
if "events" not in val:
continue
first = more_itertools.first(val["events"], None)
Expand Down

0 comments on commit 351e28e

Please sign in to comment.