This commit is contained in:
parent
3620b4944b
commit
9edbee7285
1 changed files with 3 additions and 0 deletions
|
@ -768,6 +768,9 @@ if __name__ == "__main__":
|
|||
log("You must supply at least a server name and an access token")
|
||||
sys.exit(1)
|
||||
|
||||
# in case someone provided the server name as url instead,
|
||||
setattr(arguments, 'server', re.sub(r"^(https://)?([^/]*)/?$", "\\2", arguments.server))
|
||||
|
||||
|
||||
runId = uuid.uuid4()
|
||||
|
||||
|
|
Loading…
Reference in a new issue