This commit is contained in:
2022-05-27 22:20:50 +02:00
parent 190062910c
commit 5ddb2d5a93
2 changed files with 3 additions and 3 deletions

View File

@ -2,14 +2,14 @@ from threading import Thread
import cherrypy as cp import cherrypy as cp
from stand.tableapi import TableAPI from stand.tblctrl import TableController
# creating instances here allows to use TableAPI etc. as singletons # creating instances here allows to use TableAPI etc. as singletons
print(">>> start TableAPI") print(">>> start TableAPI")
restapi = TableAPI() restapi = TableController()
conf = { conf = {
"/": { "/": {

View File

@ -5,7 +5,7 @@ from stand.utils.st_utils import rerun
@cp.expose @cp.expose
class TableAPI: class TableController:
def __init__(self): def __init__(self):
self.dfh = DateFrameHolder("output.h5") self.dfh = DateFrameHolder("output.h5")