Rework XML parser: part 1
This is the first step of the parser refactoring: here we change the configuration, next step will change data saving.
This commit is contained in:
parent
92530ef1b2
commit
c560e13f24
18 changed files with 370 additions and 122 deletions
|
|
@ -21,7 +21,7 @@ def help_full():
|
|||
def load(context):
|
||||
global lang_binding
|
||||
|
||||
if not context.config or not context.config.hasAttribute("bighugelabskey"):
|
||||
if not context.config or not "bighugelabskey" in context.config:
|
||||
logger.error("You need a NigHugeLabs API key in order to have english "
|
||||
"theasorus. Add it to the module configuration file:\n"
|
||||
"<module name=\"syno\" bighugelabskey=\"XXXXXXXXXXXXXXXX\""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue