def show_config(): data = Config.get_config() return render_template('config.html', nav='config', title='Config', data=data)
def get_blockchain(): conf = Config.get_config() return BlockchainEmercoin(conf['host'], conf['port'], conf['user'], conf['password'])