Skip to content

Commit

Permalink
Reformat per black.
Browse files Browse the repository at this point in the history
  • Loading branch information
psyhtest committed Jan 26, 2024
1 parent 60a3107 commit 8d5d010
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compliance/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ def get_avg_power(power_path: str, run_path: str) -> Tuple[float, float]:

with open(spl_fname) as f:
for line in f:
if not line.startswith("Time"): continue
if not line.startswith("Time"):
continue
timestamp = (
datetime.strptime(line.split(",")[1], datetime_format)
).replace(tzinfo=timezone.utc)
Expand Down

0 comments on commit 8d5d010

Please sign in to comment.