mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 08:49:27 +00:00
Remove colours from API #7
This commit is contained in:
@@ -55,10 +55,6 @@ class Spot:
|
||||
freq: float = None
|
||||
# Band, defined by the frequency, e.g. "40m" or "70cm"
|
||||
band: str = None
|
||||
# Colour to use for the band
|
||||
band_color: str = None
|
||||
# Contrast colour to use for text on a background of band_color
|
||||
band_contrast_color: str = None
|
||||
# Time of the spot
|
||||
time: datetime = None
|
||||
# Time that this software received the spot. This is used with the "since_received" call to our API to receive all
|
||||
@@ -121,8 +117,6 @@ class Spot:
|
||||
if self.freq and not self.band:
|
||||
band = infer_band_from_freq(self.freq)
|
||||
self.band = band.name
|
||||
self.band_color = band.color
|
||||
self.band_contrast_color = band.contrast_color
|
||||
|
||||
# Mode from comments, mode family from mode
|
||||
if self.comment and not self.mode:
|
||||
|
||||
Reference in New Issue
Block a user