Migrated to Loguru for logging and set up basic configuration, but it still needs adjustments. (0.21)
This commit is contained in:
parent
6226c59946
commit
5843f4358f
4 changed files with 58 additions and 43 deletions
|
|
@ -11,9 +11,10 @@ import os
|
|||
# TODO: check for all required configuration options and set defaults if needed. do this only for
|
||||
# options in the "linspector" section of linspector.ini.
|
||||
class Configuration:
|
||||
def __init__(self, configuration_path):
|
||||
def __init__(self, configuration_path, log):
|
||||
self.__configuration = configparser.ConfigParser()
|
||||
self.__configuration_path = configuration_path
|
||||
self.__log = log
|
||||
|
||||
# print('[linspector] reading configuration file: ' + configuration_path +
|
||||
# '/linspector.conf')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue