Changeset - 5dfe2b1c7ba4
[Not reviewed]
0 1 0
Brett Smith - 6 years ago 2018-02-22 19:37:14
brettcsmith@brettcsmith.org
main: Actually set logger level based on user's configuration.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
import2ledger/__main__.py
Show inline comments
...
 
@@ -71,6 +71,7 @@ def setup_logger(logger, main_config, stream):
 
    handler = logging.StreamHandler(stream)
 
    handler.setFormatter(formatter)
 
    logger.addHandler(handler)
 
    logger.setLevel(main_config.get_loglevel())
 

	
 
def decimal_context(base=decimal.BasicContext):
 
    context = base.copy()
0 comments (0 inline, 0 general)