debug in config file could be 'false'w
This commit is contained in:
parent
4708a16bdf
commit
932fbc18e2
|
@ -29,7 +29,7 @@ version: {version}"""
|
||||||
|
|
||||||
self.url = config['url']
|
self.url = config['url']
|
||||||
self.version = config['version']
|
self.version = config['version']
|
||||||
self.debug = 'debug' in config
|
self.debug = config.get('debug', False)
|
||||||
self.remote_url = 'http://{}/api/{}'.format(self.url, self.version)
|
self.remote_url = 'http://{}/api/{}'.format(self.url, self.version)
|
||||||
self.token_file = join(expanduser("~"), '.zephir-client.jwt.token')
|
self.token_file = join(expanduser("~"), '.zephir-client.jwt.token')
|
||||||
self.indent = config.get('indent', 2)
|
self.indent = config.get('indent', 2)
|
||||||
|
|
Loading…
Reference in New Issue