From 0461bf322559ab6f4dc6f116447cc6af703428d3 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 22 May 2024 11:37:47 +0800 Subject: [PATCH] Update sphinx_make.py --- plugins/sphinx/class/sphinx_make.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/sphinx/class/sphinx_make.py b/plugins/sphinx/class/sphinx_make.py index 224b10b0d..0ccb1f409 100644 --- a/plugins/sphinx/class/sphinx_make.py +++ b/plugins/sphinx/class/sphinx_make.py @@ -321,6 +321,8 @@ index {$DB_NAME}_{$TABLE_NAME} if create_sphinx_table: update = self.makeSphinxDbSourcePost(db, table) conf = conf.replace("{$UPDATE}", update) + else: + conf = conf.replace("{$UPDATE}", '') if create_sphinx_table: sph_sql = self.createSql(db)