mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Handle trailing slash on CALIBRE_DEVELOP_FROM
This commit is contained in:
parent
4f8c41049c
commit
a2a608acd0
@ -1559,7 +1559,7 @@ def elided_text(text, font=None, width=300, pos='middle'):
|
|||||||
|
|
||||||
if is_running_from_develop:
|
if is_running_from_develop:
|
||||||
from calibre.build_forms import build_forms
|
from calibre.build_forms import build_forms
|
||||||
build_forms(os.environ['CALIBRE_DEVELOP_FROM'], check_for_migration=True)
|
build_forms(os.path.abspath(os.environ['CALIBRE_DEVELOP_FROM']), check_for_migration=True)
|
||||||
|
|
||||||
|
|
||||||
def event_type_name(ev_or_etype):
|
def event_type_name(ev_or_etype):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user