danielraynaud commited on
Commit
5906a01
·
verified ·
1 Parent(s): d1c7a34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -193,7 +193,7 @@ class CRMJABot:
193
  self.planner = StudyPlanGenerator(self.db)
194
  self.coach = MotivationalCoach()
195
  self.analytics = StudyAnalytics(self.db.conn)
196
- self.performance = PerformanceAnalyzer(self.db.conn)
197
  self.material_gen = StudyMaterialGenerator(self.db.conn)
198
  self.tracker = ProgressTracker(self.db.conn)
199
 
 
193
  self.planner = StudyPlanGenerator(self.db)
194
  self.coach = MotivationalCoach()
195
  self.analytics = StudyAnalytics(self.db.conn)
196
+ self.performance = PerformanceAnalyzer(self.db.get_connection()) # Linha corrigida
197
  self.material_gen = StudyMaterialGenerator(self.db.conn)
198
  self.tracker = ProgressTracker(self.db.conn)
199