-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix locating jabref in jabrefHost.py
shutil.which() returns an str and not a pathlib.Path. Therefore, we need to check if which() actually returns something and if so, we should convert it to a pathlib.Path such that JABREF_PATH is always of the same type. Also, try locating JabRef in addition to jabref in the user's PATH.
- Loading branch information
1 parent
2d92025
commit cdc85b9
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters