Mercurial > hg > orthanc
comparison Resources/Samples/Python/ManualModification.py @ 2032:65b1ce7cb84f
Replaced "localhost" by "127.0.0.1", as it might impact performance on Windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Jun 2016 09:26:56 +0200 |
parents | 7db4b909bec3 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2031:a6e8e2251304 | 2032:65b1ce7cb84f |
---|---|
27 # the disk usage (the original and the modified instances never | 27 # the disk usage (the original and the modified instances never |
28 # coexist). | 28 # coexist). |
29 | 29 |
30 from RestToolbox import * | 30 from RestToolbox import * |
31 | 31 |
32 URL = 'http://localhost:8042' | 32 URL = 'http://127.0.0.1:8042' |
33 STUDY = '27f7126f-4f66fb14-03f4081b-f9341db2-53925988' | 33 STUDY = '27f7126f-4f66fb14-03f4081b-f9341db2-53925988' |
34 | 34 |
35 identifiers = {} | 35 identifiers = {} |
36 | 36 |
37 for instance in DoGet('%s/studies/%s/instances' % (URL, STUDY)): | 37 for instance in DoGet('%s/studies/%s/instances' % (URL, STUDY)): |