Update graph.py
Browse files
graph.py
CHANGED
@@ -179,7 +179,7 @@ class EssayWriter:
|
|
179 |
if os.path.exists(graph_path):
|
180 |
with open(log_file, "w") as f:
|
181 |
f.write("✅ Graphviz successfully generated /tmp/graph.png\n")
|
182 |
-
print("✅ Graphviz successfully generated /tmp/graph.png")
|
183 |
else:
|
184 |
with open(log_file, "w") as f:
|
185 |
f.write("❌ Graphviz failed to generate /tmp/graph.png\n")
|
@@ -190,7 +190,7 @@ class EssayWriter:
|
|
190 |
error_message = f"❌ Error generating workflow visualization: {e}\n"
|
191 |
with open(log_file, "w") as f:
|
192 |
f.write(error_message)
|
193 |
-
print(error_message)
|
194 |
|
195 |
|
196 |
|
|
|
179 |
if os.path.exists(graph_path):
|
180 |
with open(log_file, "w") as f:
|
181 |
f.write("✅ Graphviz successfully generated /tmp/graph.png\n")
|
182 |
+
print("✅ Graphviz successfully generated /tmp/graph.png")
|
183 |
else:
|
184 |
with open(log_file, "w") as f:
|
185 |
f.write("❌ Graphviz failed to generate /tmp/graph.png\n")
|
|
|
190 |
error_message = f"❌ Error generating workflow visualization: {e}\n"
|
191 |
with open(log_file, "w") as f:
|
192 |
f.write(error_message)
|
193 |
+
print(error_message)
|
194 |
|
195 |
|
196 |
|