check_hobos: base_url may end with a / (#7453)
This commit is contained in:
parent
506e186742
commit
eaf5772cef
|
@ -67,6 +67,8 @@ class CmdCheckHobos(Command):
|
|||
|
||||
service = [x for x in self.all_services.get('services', []) if \
|
||||
x.get('service-id') == 'wcs' and x.get('base_url') == base_url][0]
|
||||
if base_url.endswith('/'): # wcs doesn't expect a trailing slash
|
||||
service['base_url'] = base_url[:-1]
|
||||
|
||||
pub.app_dir = os.path.join(global_app_dir,
|
||||
self.get_instance_path(service))
|
||||
|
|
Loading…
Reference in New Issue