diff --git a/stand/restapi.py b/stand/restapi.py index d4b516f..9546a20 100644 --- a/stand/restapi.py +++ b/stand/restapi.py @@ -2,14 +2,14 @@ from threading import Thread import cherrypy as cp -from stand.tableapi import TableAPI +from stand.tblctrl import TableController # creating instances here allows to use TableAPI etc. as singletons print(">>> start TableAPI") -restapi = TableAPI() +restapi = TableController() conf = { "/": { diff --git a/stand/tableapi.py b/stand/tblctrl.py similarity index 97% rename from stand/tableapi.py rename to stand/tblctrl.py index 1c54025..6c74fd5 100644 --- a/stand/tableapi.py +++ b/stand/tblctrl.py @@ -5,7 +5,7 @@ from stand.utils.st_utils import rerun @cp.expose -class TableAPI: +class TableController: def __init__(self): self.dfh = DateFrameHolder("output.h5")