Adding latest revision of bottle.py

This commit is contained in:
Miroslav Stampar
2017-04-07 14:55:25 +02:00
parent c124086021
commit 751f423ae0
4 changed files with 689 additions and 317 deletions

View File

@@ -687,7 +687,7 @@ def server(host=RESTAPI_DEFAULT_ADDRESS, port=RESTAPI_DEFAULT_PORT, adapter=REST
errMsg = "Adapter '%s' is unknown. " % adapter
errMsg += "(Note: available adapters '%s')" % ', '.join(sorted(server_names.keys()))
else:
errMsg = "Server '%s' is not installed on this system. " % adapter
errMsg = "Server support for adapter '%s' is not installed on this system " % adapter
errMsg += "(Note: you can try to install it with 'sudo apt-get install python-%s' or 'sudo pip install %s')" % (adapter, adapter)
logger.critical(errMsg)