mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-10 21:10:59 +00:00
fix: read default-pipeline-config.json
This commit is contained in:
@@ -107,7 +107,7 @@ class PersistenceManager:
|
|||||||
if result.first() is None:
|
if result.first() is None:
|
||||||
self.ap.logger.info('Creating default pipeline...')
|
self.ap.logger.info('Creating default pipeline...')
|
||||||
|
|
||||||
pipeline_config = json.load(importutil.read_resource_file('templates/default-pipeline-config.json'))
|
pipeline_config = json.loads(importutil.read_resource_file('templates/default-pipeline-config.json'))
|
||||||
|
|
||||||
default_pipeline_uuid = str(uuid.uuid4())
|
default_pipeline_uuid = str(uuid.uuid4())
|
||||||
pipeline_data = {
|
pipeline_data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user