Differences From Artifact [2560b5c98b]:
- File grammalecte-server.py — part of check-in [c8ad079d57] at 2020-03-05 19:07:35 on branch trunk — [cli][server][graphspell][core] interactive correction with CLI (user: olr, size: 13830) [annotate] [blame] [check-ins using]
To Artifact [480fbbc03c]:
- File grammalecte-server.py — part of check-in [53080c6166] at 2020-03-30 13:47:04 on branch trunk — [build][server] require Python 3.7+ (user: olr, size: 13911) [annotate] [blame] [check-ins using]
| ︙ | |||
316 317 318 319 320 321 322 323 324 325 326 327 328 329 | 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 | + + + |
TESTPAGE = True
HOMEPAGE = HOMEPAGE.replace("{SERVER_PORT}", str(nPort))
if dOptions:
oGCE.setOptions(dOptions)
# Python version
print("Python: " + sys.version)
if sys.version < "3.7":
print("Python 3.7+ required")
return
# Grammalecte
echo("Grammalecte v{}".format(oGCE.version))
oGCE.displayOptions()
# Process Pool Executor
initExecutor(nMultiCPU)
# Server (Bottle)
run(app, host=sHost, port=nPort)
|
| ︙ |