Cross-origin config. Closes #26

This commit is contained in:
Ian Renton
2025-10-04 11:47:28 +01:00
parent 64a03d0ee4
commit 185f44b8e4
2 changed files with 19 additions and 1 deletions

View File

@@ -96,6 +96,10 @@ class Spot:
# Always create a GUID
self.guid = str(uuid.uuid4())
# If we somehow don't have a time, set it to some far past value so it sorts at the bottom of the list
if not self.time:
self.time = datetime.min
# Clean up DX call if it has an SSID or -# from RBN
if self.dx_call and "-" in self.dx_call:
self.dx_call = self.dx_call.split("-")[0]