Fix docstrings
This commit is contained in:
parent
b1a14401c2
commit
6ea0895803
@ -130,9 +130,7 @@ class ApiServer(RPC):
|
|||||||
# help (?)
|
# help (?)
|
||||||
|
|
||||||
def run(self):
|
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
|
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.
|
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.exception("Api server failed to start, exception message is:")
|
||||||
logger.info('Starting Local Rest Server_end')
|
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):
|
def page_not_found(self, error):
|
||||||
"""
|
"""
|
||||||
Return "404 not found", 404.
|
Return "404 not found", 404.
|
||||||
|
Loading…
Reference in New Issue
Block a user