From f7b186d7c8c643edb5a65084dc8870e4dcc35136 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 31 Dec 2025 02:31:46 -0500 Subject: [PATCH] Apply suggestion from @cubic-dev-ai[bot] Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- archivebox/misc/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/misc/util.py b/archivebox/misc/util.py index 67e9b45b..c69c8c86 100644 --- a/archivebox/misc/util.py +++ b/archivebox/misc/util.py @@ -504,7 +504,7 @@ def chrome_cleanup(): chrome_user_data_dir = config.get('CHROME_USER_DATA_DIR') if chrome_user_data_dir: singleton_lock = Path(chrome_user_data_dir) / 'SingletonLock' - if singleton_lock.exists(): + if os.path.lexists(singleton_lock): try: singleton_lock.unlink() except OSError: