kopia lustrzana https://github.com/n1ywb/python-hamtools
handle qrz errs properly
rodzic
4bf91f3ce0
commit
832073f635
|
@ -71,7 +71,7 @@ class QrzReferencer(object):
|
|||
log.debug("qrz rec %s" % rec)
|
||||
except qrz.NotFound, e:
|
||||
raise NotFound(callsign)
|
||||
except qrz.CallMismatch, e:
|
||||
except qrz.QrzError, e:
|
||||
raise GeoRefError(*e.args)
|
||||
return lon, lat
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue