Mercurial > hg > orthanc
diff Resources/Samples/Python/AutoClassify.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 | 7e6afa0beaf6 |
line wrap: on
line diff
--- a/Resources/Samples/Python/AutoClassify.py Mon Jun 20 16:03:26 2016 +0200 +++ b/Resources/Samples/Python/AutoClassify.py Tue Jun 21 09:26:56 2016 +0200 @@ -30,7 +30,7 @@ description = 'Automated classification of DICOM files from Orthanc.', formatter_class = argparse.ArgumentDefaultsHelpFormatter) -parser.add_argument('--host', default = 'localhost', +parser.add_argument('--host', default = '127.0.0.1', help = 'The host address that runs Orthanc') parser.add_argument('--port', type = int, default = '8042', help = 'The port number to which Orthanc is listening for the REST API')