Skip to content

Commit

Permalink
fixed f-strings for Python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Jan 16, 2025
1 parent c75d8b6 commit 7dceb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djicot/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def sensor_to_cot(

# Remarks should always be the first sub-entity within the Detail entity.
remarks = ET.Element("remarks")
remarks.text = f"{sensor_id=} {sensor_sn=} {sensor_type=} {cot_host_id=}: {data}"
remarks.text = f"sensor_id={sensor_id} sensor_sn={sensor_sn} sensor_type={sensor_type} cot_host_id={cot_host_id}: {data}"

detail.append(remarks)
detail.append(contact)
Expand Down

0 comments on commit 7dceb70

Please sign in to comment.