def get(element): """ Show a single configuration element. """ if element in CFG.values: OUTPUT.configelement(name=element, value=CFG.values[element])
def path(): """ Display configuration file path """ OUTPUT.configelement(name='Path', value=CFG.config_file)
def logpath(): """ Output the current configuration log file path """ OUTPUT.configelement(name='Path', value=CFG.get_logpath())
def show(): """ Show script configuration """ for key, val in CFG.values.items(): OUTPUT.configelement(name=key, value=val)