Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pnxenopoulos committed Aug 4, 2024
1 parent 33b8993 commit 0bad0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awpy/parsers/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def parse_rounds(parser: DemoParser, events: dict[str, pd.DataFrame]) -> pd.Data

# Find the bomb plant ticks
bomb_planted = events.get("bomb_planted")
if not bomb_planted or bomb_planted.shape[0] == 0:
if (not bomb_planted) or (bomb_planted.shape[0] == 0):
return rounds_df

rounds_df["bomb_plant"] = rounds_df.apply(
Expand Down

0 comments on commit 0bad0fc

Please sign in to comment.