X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=scripts%2Fml-web.py;h=c93b5fd88c2243a4d923d2a795065592e605b417;hb=682b34d490bb1a81e2e17a187f46eb188ae4c455;hp=0387bc67088abab00d464681cae3f5afd70e6968;hpb=0a6c338f3fb637c8d04a72aed92e809f61f9c2d2;p=m_librarian.git diff --git a/scripts/ml-web.py b/scripts/ml-web.py index 0387bc6..c93b5fd 100755 --- a/scripts/ml-web.py +++ b/scripts/ml-web.py @@ -7,9 +7,9 @@ import webbrowser from bottle import thread # portable import from m_librarian.db import open_db -import m_librarian.web.app # noqa: F401 imported but unused from m_librarian.web.server import run_server from m_librarian.web.utils import get_lock, close_lock, get_open_port +import m_librarian.web.app # noqa: F401 imported but unused def start_browser(port): @@ -18,7 +18,7 @@ def start_browser(port): if __name__ == '__main__': - parser = argparse.ArgumentParser(description='Init') + parser = argparse.ArgumentParser(description='m_Librarin web interface') parser.add_argument('-p', '--port', help='HTTP server port') args = parser.parse_args()