Spaces:
Build error
Build error
Update utils/audit.py
Browse files- utils/audit.py +4 -2
utils/audit.py
CHANGED
|
@@ -9,8 +9,10 @@ class AuditLogger:
|
|
| 9 |
def __init__(self):
|
| 10 |
self._setup_logging()
|
| 11 |
|
| 12 |
-
def initialize_with_connection(self,
|
| 13 |
-
self.conn =
|
|
|
|
|
|
|
| 14 |
|
| 15 |
def _setup_logging(self):
|
| 16 |
logging.basicConfig(
|
|
|
|
| 9 |
def __init__(self):
|
| 10 |
self._setup_logging()
|
| 11 |
|
| 12 |
+
def initialize_with_connection(self, conn):
|
| 13 |
+
self.conn = conn
|
| 14 |
+
|
| 15 |
+
audit_logger = AuditLogger()
|
| 16 |
|
| 17 |
def _setup_logging(self):
|
| 18 |
logging.basicConfig(
|