This commit is contained in:
Odd Stråbø 2020-08-21 14:56:15 +02:00
parent 6341bb2c62
commit 8a3ca73d52
14 changed files with 26 additions and 22 deletions

View file

@ -56,7 +56,7 @@ class HTTP(object):
else:
LOG.debug("Server address not set")
if '{UserId}'in string:
if '{UserId}' in string:
if self.config.data.get('auth.user_id', None):
string = string.replace("{UserId}", self.config.data['auth.user_id'])
else: