Skip to content

Commit

Permalink
device_mapper.py: fix passing non-python value to sqlite db
Browse files Browse the repository at this point in the history
Signed-off-by: Eduard Kaverinskyi <[email protected]>
  • Loading branch information
EduKav1813 committed Jan 18, 2025
1 parent a003d50 commit 99673a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whois/data/db/mapper/device_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def device_to_devicetable_mapper(device: Device) -> DeviceTable:
return DeviceTable(
mac_address=device.mac_address,
hostname=device.hostname,
last_seen=device.last_seen,
last_seen=device.last_seen.python_value,
owner=device.owner,
flags=device.flags,
)
Expand Down

0 comments on commit 99673a8

Please sign in to comment.