Skip to content

Commit 68f2179

Browse files
author
Herfort
committed
stupid fix #81
1 parent ad45823 commit 68f2179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapswipe_workers/basic/BaseProject.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def set_groups_progress_postgres(self, postgres, groups_progress_list):
167167
groups_progress_tablename = 'groups_progress'
168168
groups_progress_columns = ('project_id', 'group_id', 'completedcount')
169169
sql_insert = '''
170-
DROP TABLE IF EXISTS ;
170+
DROP TABLE IF EXISTS {};
171171
CREATE TABLE {} (
172172
project_id int
173173
,group_id int
@@ -191,7 +191,7 @@ def set_groups_progress_postgres(self, postgres, groups_progress_list):
191191
groups.project_id = b.project_id
192192
and
193193
groups.completedcount =! b.completedcount;
194-
DROP TABLE IF EXISTS {};
194+
DROP TABLE IF EXISTS {} ;
195195
'''
196196
sql_insert = sql.SQL(sql_insert).format(sql.Identifier(groups_progress_tablename),
197197
sql.Identifier(groups_progress_tablename))

0 commit comments

Comments
 (0)