Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nervousapps committed Feb 20, 2024
1 parent 21512fe commit 0803b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/auto_chaos/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""
\U0001F4BE
Init
Do chaos automatically using gnerative AI
\U0001F4BE
"""
from .__main__ import main
2 changes: 1 addition & 1 deletion python/auto_chaos/base_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def do_action(self, data: str) -> tuple[list[str], list[str]]:
# Parse the string and get the action
if "," in data:
datas = data.split(",")
if "\n" in data:
elif "\n" in data:
datas = data.split("\n")
else:
datas = [data]
Expand Down

0 comments on commit 0803b05

Please sign in to comment.