mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:04:36 +02:00
Restore functioning of CALIBRE_DEVELOP_FROM in linux build
This commit is contained in:
parent
0a32d53528
commit
8437c89d4d
1 changed files with 3 additions and 0 deletions
|
|
@ -360,6 +360,9 @@ def set_qt_plugin_path():
|
|||
def main():
|
||||
try:
|
||||
sys.argv[0] = sys.calibre_basename
|
||||
dfv = os.environ.get('CALIBRE_DEVELOP_FROM', None)
|
||||
if dfv and os.path.exists(dfv):
|
||||
sys.path.insert(0, os.path.abspath(dfv))
|
||||
set_default_encoding()
|
||||
set_helper()
|
||||
set_qt_plugin_path()
|
||||
|
|
|
|||
Loading…
Reference in a new issue