Skip to content

Commit

Permalink
Nit: using master.
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkneumann committed Aug 13, 2016
1 parent df7fe7a commit 1303d17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deepdist/deepdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ def __enter__(self):
# self.server = Process(target=self.start)
# self.server.start()
return self

def __exit__(self, type, value, traceback):
url = "http://%s:5000/shutdown"%self.server
url = "http://%s/shutdown" % self.master
response = urllib2.urlopen(url, '{}').read()
print"exit performed"
print("Exit requested...")

def start(self):
from flask import Flask, request

Expand Down

0 comments on commit 1303d17

Please sign in to comment.