From 1146797fec64213c23e6cc547a1ca72ffe6cff02 Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Tue, 20 Dec 2022 16:08:20 +0300 Subject: [PATCH] fix: flex-linux-setup code smell --- flex-linux-setup/flex_linux_setup/flex_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flex-linux-setup/flex_linux_setup/flex_setup.py b/flex-linux-setup/flex_linux_setup/flex_setup.py index 12fbc3ac4..dc8c08f40 100644 --- a/flex-linux-setup/flex_linux_setup/flex_setup.py +++ b/flex-linux-setup/flex_linux_setup/flex_setup.py @@ -130,7 +130,7 @@ def download_jans_install_py(setup_branch): if not os.path.exists(logs_dir): os.makedirs(logs_dir) -if not __STATIC_SETUP_DIR__ in sys.path: +if __STATIC_SETUP_DIR__ not in sys.path: sys.path.append(__STATIC_SETUP_DIR__) from setup_app import paths