diff options
Diffstat (limited to 'nikola/plugins/command_new_post.py')
| -rw-r--r-- | nikola/plugins/command_new_post.py | 4 |
1 files changed, 3 insertions, 1 deletions
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() |
