README fix.
This commit is contained in:
parent
e97d01738d
commit
03194e4c71
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ class Configuration:
|
||||||
|
|
||||||
if os.path.isfile(configuration_path + '/linspector.ini'):
|
if os.path.isfile(configuration_path + '/linspector.ini'):
|
||||||
self.__configuration.read(configuration_path + '/linspector.ini', 'utf-8')
|
self.__configuration.read(configuration_path + '/linspector.ini', 'utf-8')
|
||||||
|
else:
|
||||||
|
raise FileNotFoundError("configuration file linspector.ini not found in configuration "
|
||||||
|
"root path!")
|
||||||
|
|
||||||
# add keys and values from notifications, plugins and types defined in their subdir ini
|
# add keys and values from notifications, plugins and types defined in their subdir ini
|
||||||
# files.
|
# files.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue