mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2025-10-27 16:59:25 +00:00
Only fill missing info if spot passes the timestamp check in submit(). Closes #14
This commit is contained in:
@@ -42,8 +42,7 @@ class WWBOTA(HTTPProvider):
|
||||
latitude=source_spot["references"][0]["lat"],
|
||||
longitude=source_spot["references"][0]["long"],
|
||||
qrt=source_spot["type"] == "QRT")
|
||||
# Fill in any missing data
|
||||
spot.infer_missing()
|
||||
|
||||
# Add to our list. Don't worry about de-duping, removing old spots etc. at this point; other code will do
|
||||
# that for us. But WWBOTA does support a special "Test" spot type, we need to avoid adding that.
|
||||
if source_spot["type"] != "Test":
|
||||
|
||||
Reference in New Issue
Block a user