From 5dd3b037eb25a06dbb0783d377909e5df6f11bc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Laurent?= <francois.laurent@posteo.net>
Date: Wed, 17 Jul 2024 19:16:57 +0200
Subject: [PATCH] hotfix before release

---
 src/taggingbackends/explorer.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/taggingbackends/explorer.py b/src/taggingbackends/explorer.py
index b725637..40644c8 100644
--- a/src/taggingbackends/explorer.py
+++ b/src/taggingbackends/explorer.py
@@ -16,20 +16,20 @@ DISABLE_JULIA = os.environ.get('DISABLE_JULIA', '')
 try:
     from julia import Julia
 except:
-    if not isempty(DISABLE_JULIA):
+    if not DISABLE_JULIA:
         logging.warning(f"PyCall not found in JULIA_PROJECT={JULIA_PROJECT}; \
 please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation")
 else:
     try:
         Julia(compiled_modules=False)
     except:
-        if not isempty(DISABLE_JULIA):
+        if not DISABLE_JULIA:
             logging.warning("Failed to set PyCall with compiled_modules=False")
     try:
         from julia import TaggingBackends
         from julia import PlanarLarvae
     except:
-        if not isempty(DISABLE_JULIA):
+        if not DISABLE_JULIA:
             logging.warning(f"TaggingBackends not found in JULIA_PROJECT={JULIA_PROJECT}; \
 please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation")
 
-- 
GitLab