개정판 2969340e
issue #1633: change name app -> run
Change-Id: Id9fd21a13de79cd53280a0662daec464582364c5
DTI_PID/DTI_PID/AppWebService.py | ||
---|---|---|
28 | 28 |
try: |
29 | 29 |
if not self._url: |
30 | 30 |
return False |
31 |
url = self._url + 'Test_Connection' |
|
31 |
url = self._url + '/Test_Connection'
|
|
32 | 32 |
response = requests.get(url) |
33 | 33 |
if response.status_code == 200: |
34 | 34 |
return True |
DTI_PID/WebServer/app.py | ||
---|---|---|
1 |
from app import app |
|
2 |
|
|
3 |
if __name__ == '__main__': |
|
4 |
app.run(debug=True) |
DTI_PID/WebServer/run.py | ||
---|---|---|
1 |
from app import app |
|
2 |
|
|
3 |
if __name__ == '__main__': |
|
4 |
app.run(debug=True) |
내보내기 Unified diff