Browse Source

update db logs to debug

Maxime Alves LIRMM@home 3 years ago
parent
commit
8c8c85be4a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      pyheatpump/db.py

+ 2
- 2
pyheatpump/db.py View File

@@ -55,8 +55,8 @@ class DB():
55 55
 
56 56
     @staticmethod
57 57
     def sql(query, params={}):
58
-        print(query)
59
-        print(params)
58
+        logger.debug(query, params)
59
+
60 60
         if not DB.connect():
61 61
             raise Exception('Can\'t connect to DB')
62 62
 

Loading…
Cancel
Save