Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Francois Dockes
recoll-webui
Commits
1a249aa5
Commit
1a249aa5
authored
Nov 10, 2014
by
Yves Fischer
Committed by
koniu
Mar 23, 2015
Browse files
Change directory only if needed
parent
ee915fda
Changes
1
Hide whitespace changes
Inline
Side-by-side
webui-standalone.py
View file @
1a249aa5
...
...
@@ -10,7 +10,8 @@ parser.add_argument('-p', '--port', default='8080', type=int, help='port to list
args
=
parser
.
parse_args
()
# change to webui's directory and import
os
.
chdir
(
os
.
path
.
dirname
(
__file__
))
if
os
.
path
.
dirname
(
__file__
)
!=
""
:
os
.
chdir
(
os
.
path
.
dirname
(
__file__
))
# set up webui and run in own http server
webui
.
bottle
.
debug
(
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment