From 60bf1792357a2f18a7f1cfa5d1efdfc88d27bc2d Mon Sep 17 00:00:00 2001 From: Abdelaziz Sharaf <36330265+AbdelazizSharaf001@users.noreply.github.com> Date: Sat, 15 Jul 2023 02:21:11 +0300 Subject: [PATCH] Update __init__.py fix "pluginUtils could not be found" --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 324e446..cc2f492 100644 --- a/__init__.py +++ b/__init__.py @@ -24,8 +24,8 @@ join = os.path.join # used here to get path to plugin utils, afterwards use pluginUtils.path.getRoot() -ROOT_DIR = join(os.path.dirname(os.path.abspath(__file__)), '..', '..') -sys.path.append(join(ROOT_DIR, 'python')) +#ROOT_DIR = join(os.path.dirname(os.path.abspath(__file__)), '..', '..') +sys.path.append(join(os.path.abspath(os.path.dirname(__file__)), 'python')) PING_DELAY_FIRST = 5 PING_DELAY = 2