Generate mSQL for new schemas correctly. Fixes #1937

This commit is contained in:
Murtuza Zabuawala 2016-11-09 15:13:17 +00:00 committed by Dave Page
parent c345adaa52
commit 36c909b1f9

View File

@ -716,7 +716,7 @@ It may have been removed by another user.
data[k] = v
try:
SQL = self.get_sql(gid, sid, data, scid)
SQL, name = self.get_sql(gid, sid, data, scid)
if SQL and SQL.strip('\n') and SQL.strip(' '):
return make_json_response(
data=SQL.strip('\n'),