From 4b850c3337f38c9d0a80361d77dd4925aed4234c Mon Sep 17 00:00:00 2001 From: MRColor Date: Tue, 25 Jun 2024 18:05:58 +0200 Subject: [PATCH] chore: simpler headless env var name --- grass-node_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grass-node_main.py b/grass-node_main.py index 41a59a3..97a74b8 100644 --- a/grass-node_main.py +++ b/grass-node_main.py @@ -219,7 +219,7 @@ def initialize_driver(crx_file_paths=None): driver_options.add_argument('--disable-dev-shm-usage') driver_options.add_experimental_option('prefs', {'extensions.ui.developer_mode': True}) - if os.getenv('HEADLESS_MODE', 'false').lower() == 'true': + if os.getenv('HEADLESS', 'false').lower() == 'true': driver_options.add_argument('--headless') driver_options.add_argument(