Skip to content

Commit

Permalink
fix syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Dec 9, 2017
1 parent 31d06ab commit b679e3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _doc/examples/plot_rest_api_search_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ def process_server(host, port):
from subprocess import Popen
if sys.platform.startswith('win'):
cmd = '{0} -u "{1}"'.format(sys.executable, code_file)
print("Running '{0}'."format(cmd))
print("Running '{0}'".format(cmd))
proc = Popen(cmd)
else:
cmd = [sys.executable, '-u', code_file]
print("Running '{0}'."format(cmd))
print("Running '{0}'".format(cmd))
proc = Popen(cmd)
print('Start server, process id', proc.pid)

Expand Down

0 comments on commit b679e3b

Please sign in to comment.