diff --git a/examples/09 - Eelectron-quick-start/hello.py b/examples/09 - Eelectron-quick-start/hello.py index c10d9fb7..a59975e1 100644 --- a/examples/09 - Eelectron-quick-start/hello.py +++ b/examples/09 - Eelectron-quick-start/hello.py @@ -1,5 +1,4 @@ import eel - # Set web files folder eel.init('web') @@ -10,11 +9,5 @@ def say_hello_py(x): say_hello_py('Python World!') eel.say_hello_js('Python World!') # Call a Javascript function - -options = { - 'mode': 'custom', - 'args': ['node_modules/electron/dist/electron.exe', '.'] -} - -eel.start('hello.html', options=options) +eel.start('hello.html',mode='electron') #eel.start('hello.html', mode='custom', cmdline_args=['node_modules/electron/dist/electron.exe', '.'])