Skip to content

Commit

Permalink
common: better url handling
Browse files Browse the repository at this point in the history
  • Loading branch information
regit committed Feb 24, 2023
1 parent 925d3db commit e1a0367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/stamus/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class StamusRestConnection(object):
def __init__(self, metadata=None):
cfg = cli.getConfStanza('ssp', 'config')
self.api_key = cfg.get('api_key')
self.base_url = cfg.get('base_url')
self.base_url = cfg.get('base_url').rstrip('/')
check_tls = cfg.get('check_tls')
if check_tls.lower() in ['no', 'false']:
self.check_tls = False
Expand Down

0 comments on commit e1a0367

Please sign in to comment.