Mercurial > hg > orthanc
comparison Resources/Samples/Python/ContinuousPatientAnonymization.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 | b1291df2f780 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2031:a6e8e2251304 | 2032:65b1ce7cb84f |
---|---|
35 anonymized as soon as she gets stable (i.e. when no DICOM instance has | 35 anonymized as soon as she gets stable (i.e. when no DICOM instance has |
36 been received for this patient for a sufficient amount of time - cf. | 36 been received for this patient for a sufficient amount of time - cf. |
37 the configuration option "StableAge"). | 37 the configuration option "StableAge"). |
38 | 38 |
39 Usage: %s [hostname] [HTTP port] | 39 Usage: %s [hostname] [HTTP port] |
40 For instance: %s localhost 8042 | 40 For instance: %s 127.0.0.1 8042 |
41 """ % (sys.argv[0], sys.argv[0])) | 41 """ % (sys.argv[0], sys.argv[0])) |
42 exit(-1) | 42 exit(-1) |
43 | 43 |
44 URL = 'http://%s:%d' % (sys.argv[1], int(sys.argv[2])) | 44 URL = 'http://%s:%d' % (sys.argv[1], int(sys.argv[2])) |
45 | 45 |