Skip to content

Commit

Permalink
Break long line for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
svandermeer committed Sep 4, 2024
1 parent 76a2b7a commit 8ef1500
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aerofiles/igc/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ def read(self, file_obj):
time=fix_record["time"],
tzinfo=datetime.timezone.utc
)
if not fix_records[1] or (abs((fix_record["time"] - fix_records[1][-1]["time"]).total_seconds()) >= 1 or not self.skip_duplicates):
if not fix_records[1] or (
abs((
fix_record["time"] - fix_records[1][-1]["time"]
).total_seconds()) >= 1 or not self.skip_duplicates
):
fix_records[1].append(fix_record)
elif record_type == 'C':
task_item = line
Expand Down

0 comments on commit 8ef1500

Please sign in to comment.