How to use the eel.confirm function in Eel

To help you get started, we’ve selected a few Eel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github georgegach / flowiz / flowiz / gui / __main__.py View on Github external
def upload(file):
    eel.confirm(file['name'])
    rgb, u, v = create_b64_image(file)
    generate_index_html(savedir, accessdir, os.path.join(savedir,"index.html"))
    eel.generate({
        'name': file['name'],
        'type': 'flowimage',
        'rgb': rgb,
        'u': u,
        'v': v,
    })