Mercurial > hg > orthanc
comparison OrthancServer/Resources/Samples/ImportDicomFiles/OrthancImport.py @ 4972:cde17b68d73e
linor fix in OrthancImport.py
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Apr 2022 09:52:54 +0200 |
parents | 43e613a7756b |
children | 17c91e054636 |
comparison
equal
deleted
inserted
replaced
4970:2e3006382c22 | 4972:cde17b68d73e |
---|---|
61 if args.clear and not args.force: | 61 if args.clear and not args.force: |
62 print(""" | 62 print(""" |
63 WARNING: This script will remove all the content of your | 63 WARNING: This script will remove all the content of your |
64 Orthanc instance running on %s! | 64 Orthanc instance running on %s! |
65 | 65 |
66 Are you sure ["yes" to go on]?""" % args.server) | 66 Are you sure ["yes" to go on]?""" % args.url) |
67 | 67 |
68 if sys.stdin.readline().strip() != 'yes': | 68 if sys.stdin.readline().strip() != 'yes': |
69 print('Aborting...') | 69 print('Aborting...') |
70 exit(0) | 70 exit(0) |
71 | 71 |