mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-26 05:06:13 +01:00
...
This commit is contained in:
parent
1c25651c1b
commit
adda943e1b
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@
|
|||
import sys, os
|
||||
|
||||
path = os.environ.get('CALIBRE_PYTHON_PATH', {path!r})
|
||||
sys.path.insert(0, path)
|
||||
if path not in sys.path:
|
||||
sys.path.insert(0, path)
|
||||
|
||||
sys.resources_location = os.environ.get('CALIBRE_RESOURCES_PATH', {resources!r})
|
||||
sys.extensions_location = os.environ.get('CALIBRE_EXTENSIONS_PATH', {extensions!r})
|
||||
|
|
|
|||
Loading…
Reference in a new issue