Skip to content

Commit

Permalink
Updated the path for the jar libraries. Fixes issue FraBle#41.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmavroeidis committed Jan 26, 2021
1 parent a3704c1 commit 5b1ea6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sutime/sutime.py
Expand Up @@ -90,7 +90,8 @@ def __init__(
self._sutime = None
self._lock = threading.Lock()
module_root = Path(__file__).resolve().parent
self.jars = Path(jars) if jars else module_root / 'jars'
self.jars = Path(jars) if jars else os.path.join(
Path(importlib.util.find_spec('sutime').origin).parent, 'jars')

self._check_language_model_dependency(
language.lower() if language else '',
Expand Down

0 comments on commit 5b1ea6f

Please sign in to comment.