Skip to content

Commit

Permalink
'Refactored by Sourcery'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourcery AI committed Jul 25, 2020
1 parent a866ea1 commit 59d2852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markplates/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ def import_repl(self, source):
# set up the console and prompts
console = code.InteractiveConsole()
ps1 = ">>> "
ps2 = "... "
prompt = ps1

with io.StringIO() as output:
with contextlib.redirect_stdout(output):
with contextlib.redirect_stderr(output):
ps2 = "... "
for line in lines:
# don't show prompt on blank lines - spacing looks
# better this way
Expand Down

0 comments on commit 59d2852

Please sign in to comment.