scan-view-fix-path
=================================================================== Gbp-Pq: Name scan-view-fix-path.diff
This commit is contained in:
parent
e2e54ec9d3
commit
fd710779ae
|
@ -65,7 +65,7 @@ def start_browser(port, options):
|
||||||
|
|
||||||
def run(port, options, root):
|
def run(port, options, root):
|
||||||
# Prefer to look relative to the installed binary
|
# Prefer to look relative to the installed binary
|
||||||
share = os.path.dirname(__file__) + "/../share/scan-view"
|
share = os.path.dirname(__file__) + "/../share/"
|
||||||
if not os.path.isdir(share):
|
if not os.path.isdir(share):
|
||||||
# Otherwise look relative to the source
|
# Otherwise look relative to the source
|
||||||
share = os.path.dirname(__file__) + "/../../scan-view/share"
|
share = os.path.dirname(__file__) + "/../../scan-view/share"
|
||||||
|
|
Loading…
Reference in New Issue