Thu, 22 Dec 2022 09:54:30 +0100
Fixed an issue where the eric7 package could not be found by the jedi client process.
src/eric7/JediInterface/JediClient.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/JediInterface/JediClient.py Thu Dec 22 09:35:17 2022 +0100 +++ b/src/eric7/JediInterface/JediClient.py Thu Dec 22 09:54:30 2022 +0100 @@ -8,6 +8,7 @@ """ import contextlib +import os import sys SuppressedException = Exception @@ -20,6 +21,7 @@ except ImportError: sys.exit(42) +sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", ".."))) from eric7.EricNetwork.EricJsonClient import EricJsonClient