From b76d92bfeb989aefbf23668411b496aa7998b99c Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Tue, 3 Jun 2025 14:36:29 +0800 Subject: [PATCH] Update DashboardClients.py --- src/modules/DashboardClients.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/DashboardClients.py b/src/modules/DashboardClients.py index e81f153..dab446c 100644 --- a/src/modules/DashboardClients.py +++ b/src/modules/DashboardClients.py @@ -17,7 +17,7 @@ class DashboardClients: self.logger = DashboardLogger() self.engine = db.create_engine(ConnectionString("wgdashboard")) self.metadata = db.MetaData() - self.DashboardClientsTOTP = DashboardClientsTOTP() + self.dashboardClientsTable = db.Table( 'DashboardClients', self.metadata, @@ -45,6 +45,7 @@ class DashboardClients: self.metadata.create_all(self.engine) self.Clients = [] self.__getClients() + self.DashboardClientsTOTP = DashboardClientsTOTP() def __getClients(self): with self.engine.connect() as conn: