From ded527a64a257896a0ab0222b2105f5f179ba99b Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 20 Apr 2023 15:18:59 -0300 Subject: [PATCH] Update loading.py --- src/backend/langflow/interface/loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/interface/loading.py b/src/backend/langflow/interface/loading.py index 0d4465e7e18..333c0307c0b 100644 --- a/src/backend/langflow/interface/loading.py +++ b/src/backend/langflow/interface/loading.py @@ -87,7 +87,7 @@ def load_flow_from_json(path: str): from langflow.graph import Graph """Load flow from json file""" - with open(path, "r", encoding='utf-8') as f: + with open(path, "r", encoding=utf-8") as f: flow_graph = json.load(f) data_graph = flow_graph["data"] nodes = data_graph["nodes"]