mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-21 06:13:57 +00:00
updated clublog url to cdn.clublog.org in multiple places
This commit is contained in:
parent
1dcc724e7b
commit
e549f416e8
4 changed files with 5 additions and 4 deletions
|
|
@ -689,7 +689,7 @@ class LookupLib(object):
|
|||
#no matching case
|
||||
raise KeyError
|
||||
|
||||
def _lookup_clublogAPI(self, callsign=None, timestamp=None, url="https://secure.clublog.org/dxcc", apikey=None):
|
||||
def _lookup_clublogAPI(self, callsign=None, timestamp=None, url="https://cdn.clublog.org/dxcc", apikey=None):
|
||||
""" Set up the Lookup object for Clublog Online API
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ def get_clublog_users(**kwargs):
|
|||
'lastupload': datetime.datetime(2013, 5, 8, 15, 0, 6),
|
||||
'oqrs': True}
|
||||
|
||||
.. _CLUBLOG: https://secure.clublog.org
|
||||
.. _CLUBLOG: https://clublog.org
|
||||
__ CLUBLOG_
|
||||
|
||||
"""
|
||||
|
|
@ -106,7 +106,7 @@ def get_clublog_users(**kwargs):
|
|||
try:
|
||||
url = kwargs['url']
|
||||
except KeyError:
|
||||
url = "https://secure.clublog.org/clublog-users.json.zip"
|
||||
url = "https://cdn.clublog.org/clublog-users.json.zip"
|
||||
|
||||
try:
|
||||
result = requests.get(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue