From 52c4727e48c777529fd2dc9054e441206b08614b Mon Sep 17 00:00:00 2001 From: AccidentallyOnPurpose <4935931+AccidentallyOnPurpose@users.noreply.github.com4935931+AccidentallyOnPurpose@users.noreply.github.com> Date: Tue, 24 Dec 2019 12:22:37 +0800 Subject: [PATCH] fix transformed action print --- play.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.py b/play.py index f5c499a..d520598 100644 --- a/play.py +++ b/play.py @@ -279,7 +279,7 @@ def play(): action = "\n> " + action + "\n" - colPrint("\n>> " + action.lstrip(' >'), colors["transformed-user-text"]) + colPrint("\n>> " + action.lstrip().lstrip('> \n'), colors["transformed-user-text"]) result = "\n" + story_manager.act(action) if len(story_manager.story.results) >= 2: similarity = get_similarity(