Skip to content

Commit

Permalink
fix win support
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk committed Jan 17, 2025
1 parent e616e52 commit 1f045b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/agentscope/web/workstation/workflow_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def format_python_code(code: str) -> str:

# Combine header and body to form the full script
script = (
"# -*- coding: utf-8 -*-\n"
f"{header}\n\n\n{main_body}\n\nif __name__ == "
f"'__main__':\n main()\n"
)
Expand Down

0 comments on commit 1f045b8

Please sign in to comment.