diff --git a/ndiff/scripts/ndiff b/ndiff/scripts/ndiff index 8517c0757..eb87d2590 100755 --- a/ndiff/scripts/ndiff +++ b/ndiff/scripts/ndiff @@ -63,7 +63,7 @@ def is_secure_dir(path, num_symlinks=0): # by other users. The following line is replaced by the installation program. INSTALL_LIB = None if INSTALL_LIB is not None and is_secure_dir(INSTALL_LIB): - sys.path.append(INSTALL_LIB) + sys.path.append(INSTALL_LIB) # lgtm[py/unreachable-statement] try: import ndiff diff --git a/zenmap/zenmap b/zenmap/zenmap index 363b8dcf2..f1abadbc9 100755 --- a/zenmap/zenmap +++ b/zenmap/zenmap @@ -175,7 +175,7 @@ def is_secure_dir(path, num_symlinks=0): # by other users. The following line is replaced by the installation program. INSTALL_LIB = None if INSTALL_LIB is not None and is_secure_dir(INSTALL_LIB): - sys.path.append(INSTALL_LIB) + sys.path.append(INSTALL_LIB) # lgtm[py/unreachable-statement] try: import zenmapGUI.App