feat(pipeline): use default config in create

This commit is contained in:
Junyan Qin
2025-04-28 13:54:12 +08:00
parent 4417b61fd1
commit 8511432dee
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ class PersistenceManager:
if result.first() is None:
self.ap.logger.info("Creating default pipeline...")
pipeline_config = json.load(open('templates/default-pipeline-config.json'))
pipeline_config = json.load(open('templates/default-pipeline-config.json', 'r', encoding='utf-8'))
pipeline_data = {
'uuid': str(uuid.uuid4()),