mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-21 23:41:01 +00:00
Fix typo
This commit is contained in:
parent
580887fcc6
commit
370ff7a37c
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -21,7 +21,7 @@ parser.add_argument('--ssl', default=None, action="store_true",
|
|||
parser.add_argument('--frontend-language-source', type=str, default="en", metavar="<language code>",
|
||||
help='Set frontend default language - source (%(default)s)')
|
||||
parser.add_argument('--frontend-language-target', type=str, default="es", metavar="<language code>",
|
||||
help='Set frontend xxxdefault language - target (%(default)s)')
|
||||
help='Set frontend default language - target (%(default)s)')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
@ -38,4 +38,4 @@ if __name__ == "__main__":
|
|||
app.run(host=args.host, port=args.port)
|
||||
else:
|
||||
from waitress import serve
|
||||
serve(app, host=args.host, port=args.port, url_scheme='https' if args.ssl else 'http')
|
||||
serve(app, host=args.host, port=args.port, url_scheme='https' if args.ssl else 'http')
|
||||
|
|
Loading…
Reference in a new issue