浏览代码

[db] logs open

Maxime Alves LIRMM@home 4 年前
父节点
当前提交
b60a67505c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      pyheatpump/db.py

+ 1
- 0
pyheatpump/db.py 查看文件

@@ -34,6 +34,7 @@ def initialize(filename):
34 34
 
35 35
 def sql(query):
36 36
     if conn is None:
37
+        logger.debug(f'Connect to the DB\n')
37 38
         connect()
38 39
 
39 40
     cursor = conn.cursor()

正在加载...
取消
保存