Skip to content

Weird ini-parser behaviour

Whats the background on these lines?

	if endpoint == "" {
		if c.Endpoint == "" {
			endpoint = BASEURIPROD
		} else {
			endpoint = c.Endpoint
		}
	}

I find it a bit weird to just default to the production api if the user has a (from my view) malformed config file. It also differs from the behaviour of the python-api library from SCC-NET.