Skip to content

Commit

Permalink
Fix unicode error from raw_input (RhBug:1279409)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Nov 9, 2015
1 parent 7d34954 commit 88337a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tracer/controllers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#

import os
import sys
from tracer.hooks import HooksObserver
from tracer.views.default import DefaultView
from tracer.views.interactive import InteractiveView
Expand Down Expand Up @@ -109,7 +110,8 @@ def render_interactive(self):
except (SyntaxError, IndexError, ValueError):
print(_("Wrong application number"))

input("\n-- " + _("Press <enter> to get list of applications") + " --")
sys.stdout.write("\n-- " + _("Press <enter> to get list of applications") + " --")
input()

def _restartable_applications(self, applications, args):
return applications.exclude_types([
Expand Down

0 comments on commit 88337a8

Please sign in to comment.