Skip to content

Commit d592541

Browse files
author
Matthias
committed
renamed statistic relation to progess relation
1 parent 336a419 commit d592541

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mapswipe_workers/basic/BaseProject.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def set_contributors(self, firebase):
312312

313313
def set_project_progress_postgres(self, postgres)-> bool:
314314
"""
315-
The function insert id, contributors, progress and timestamp into postgres statistics table
315+
The function insert id, contributors, progress and timestamp into postgres progress relation
316316
317317
Parameters
318318
----------
@@ -328,7 +328,7 @@ def set_project_progress_postgres(self, postgres)-> bool:
328328
p_con = postgres()
329329
sql_insert = '''
330330
INSERT INTO
331-
statistics
331+
progress
332332
VALUES
333333
(%s,%s,%s,%s);
334334
'''
@@ -337,7 +337,7 @@ def set_project_progress_postgres(self, postgres)-> bool:
337337
self.progress, timestamp]
338338

339339
p_con.query(sql_insert, data)
340-
logging.warning('%s - set_project_progress_postgres - inserted new entry for contributors and progress in statistics table' % self.id)
340+
logging.warning('%s - set_project_progress_postgres - inserted new entry for contributors and progress in progress relation' % self.id)
341341
del p_con
342342

343343
return True

0 commit comments

Comments
 (0)