Fix docstrings

This commit is contained in:
Matthias 2019-05-11 08:55:10 +02:00
parent b1a14401c2
commit 6ea0895803

View File

@ -130,9 +130,7 @@ class ApiServer(RPC):
# help (?)
def run(self):
""" Method that runs flask app in its own thread forever """
"""
""" Method that runs flask app in its own thread forever.
Section to handle configuration and running of the Rest server
also to check and warn if not bound to a loopback, warn on security risk.
"""
@ -153,11 +151,6 @@ class ApiServer(RPC):
logger.exception("Api server failed to start, exception message is:")
logger.info('Starting Local Rest Server_end')
"""
Define the application methods here, called by app.add_url_rule
each Telegram command should have a like local substitute
"""
def page_not_found(self, error):
"""
Return "404 not found", 404.