From 878ba1152ebc64a4a2609d23c9e400a6111db642 Mon Sep 17 00:00:00 2001 From: Agustin Henze Date: Wed, 27 Feb 2013 09:13:24 -0300 Subject: Imported Upstream version 5.3 --- nikola/plugins/command_new_post.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nikola/plugins/command_new_post.py') diff --git a/nikola/plugins/command_new_post.py b/nikola/plugins/command_new_post.py index a5715de..9b6397b 100644 --- a/nikola/plugins/command_new_post.py +++ b/nikola/plugins/command_new_post.py @@ -110,9 +110,11 @@ class CommandNewPost(Command): print("-----------------\n") if title is None: print("Enter title: ", end='') + # WHY, PYTHON3???? WHY? + sys.stdout.flush() title = sys.stdin.readline() else: - print("Title: ", title) + print("Title:", title) if isinstance(title, bytes): title = title.decode(sys.stdin.encoding) title = title.strip() -- cgit v1.2.3