mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-11 23:21:42 +00:00
Replace dash-separated config & API properties with underscore-separated versions. #127
This commit is contained in:
@@ -17,7 +17,7 @@ class ClublogAPI(APIQueryCallsignDataProvider):
|
||||
|
||||
def __init__(self, provider_config):
|
||||
# API key required for this provider
|
||||
self._api_key = provider_config.get("api-key", "")
|
||||
self._api_key = provider_config.get("api_key", "")
|
||||
if self._api_key != "":
|
||||
lookuplib = LookupLib(lookuptype="clublogapi", apikey=self._api_key)
|
||||
self._callinfo = Callinfo(lookuplib)
|
||||
|
||||
Reference in New Issue
Block a user