diff --git a/update/utils/git_util.py b/update/utils/git_util.py index 0a014ab..d7d1b44 100644 --- a/update/utils/git_util.py +++ b/update/utils/git_util.py @@ -185,7 +185,7 @@ class GitUtil: # 写入cine.sql def handle_create_cine(self): # 如果生成了新的文件则写库,如果sql没有变化则跳过 - if self.create_cine_sql() and self.template_db_exist(): + if self.create_cine_sql() or self.template_db_exist(): self.write_cine_sql_by_mysql() return '成功'