hotfix ep2base
This commit is contained in:
parent
9ea852f154
commit
49b1ea16d0
1 changed files with 6 additions and 6 deletions
12
router.py
12
router.py
|
|
@ -219,12 +219,12 @@ class fetch:
|
|||
print(e)
|
||||
return []
|
||||
|
||||
def ep2base(ep):
|
||||
if "/v1" in ep:
|
||||
base_url = ep
|
||||
else:
|
||||
base_url = ep+"/v1"
|
||||
return base_url
|
||||
def ep2base(ep):
|
||||
if "/v1" in ep:
|
||||
base_url = ep
|
||||
else:
|
||||
base_url = ep+"/v1"
|
||||
return base_url
|
||||
|
||||
def dedupe_on_keys(dicts, key_fields):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue