save debug setting as self.debug
This commit is contained in:
parent
6962fe3e80
commit
3153bdfa8a
@ -95,8 +95,8 @@ class Lorax(BaseLoraxClass):
|
|||||||
self.conf.read(conf_file)
|
self.conf.read(conf_file)
|
||||||
|
|
||||||
# set up the output
|
# set up the output
|
||||||
debug = self.conf.getboolean("lorax", "debug")
|
self.debug = self.conf.getboolean("lorax", "debug")
|
||||||
output_level = output.DEBUG if debug else output.INFO
|
output_level = output.DEBUG if self.debug else output.INFO
|
||||||
|
|
||||||
colors = self.conf.getboolean("output", "colors")
|
colors = self.conf.getboolean("output", "colors")
|
||||||
encoding = self.conf.get("output", "encoding")
|
encoding = self.conf.get("output", "encoding")
|
||||||
|
Loading…
Reference in New Issue
Block a user