mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 22:37:44 +00:00
ruff fixes
This commit is contained in:
@@ -61,7 +61,7 @@ class HamQTH(APIQueryCallsignDataProvider):
|
||||
logger.debug("HamQTH login details incorrect, failed to look up with HamQTH.")
|
||||
return None
|
||||
except Exception:
|
||||
logger.error("Exception when getting HamQTH session key")
|
||||
logger.exception("Exception when getting HamQTH session key")
|
||||
return None
|
||||
|
||||
if not session_id:
|
||||
|
||||
@@ -57,7 +57,7 @@ class QRZ(APIQueryCallsignDataProvider):
|
||||
logger.debug("QRZ.com login details incorrect, failed to look up with QRZ.")
|
||||
return None
|
||||
except Exception:
|
||||
logger.error("Exception when getting QRZ.com session key")
|
||||
logger.exception("Exception when getting QRZ.com session key")
|
||||
return None
|
||||
|
||||
if not session_key:
|
||||
|
||||
Reference in New Issue
Block a user