mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
Cross-origin config. Closes #26
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user