mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Fix potential NPE
This commit is contained in:
@@ -103,6 +103,7 @@ class GMA(HTTPSpotProvider):
|
||||
# to determine if it's a SOTA summit.
|
||||
if (
|
||||
spot.sig_refs
|
||||
and ref_info
|
||||
and "reftype" in ref_info
|
||||
and ref_info["reftype"] not in ["POTA", "WWFF"]
|
||||
and (
|
||||
|
||||
Reference in New Issue
Block a user