mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-06 15:46:07 +01:00
We want the traditional bypy location in qt6
This commit is contained in:
parent
0dd9ebd4c3
commit
77e70f61e2
1 changed files with 1 additions and 3 deletions
|
|
@ -12,9 +12,7 @@
|
|||
|
||||
def get_paths():
|
||||
base = d(d(os.path.abspath(__file__)))
|
||||
traditional_bypy_location = os.path.join(d(base), 'bypy')
|
||||
compat_bypy_location = os.path.join(base, 'bypy', 'b', 'bypy-old')
|
||||
bypy = compat_bypy_location if os.path.exists(compat_bypy_location) else traditional_bypy_location
|
||||
bypy = os.path.join(d(base), 'bypy')
|
||||
bypy = os.environ.get('BYPY_LOCATION', bypy)
|
||||
if not os.path.isdir(bypy):
|
||||
raise SystemExit(
|
||||
|
|
|
|||
Loading…
Reference in a new issue