comparison Tests/Tests.py @ 502:070bc47f4f3e

removed print
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2022 15:46:50 +0100
parents 1b1bb8621021
children 138d5efd4407
comparison
equal deleted inserted replaced
501:1b1bb8621021 502:070bc47f4f3e
2475 2475
2476 while retries > 0: 2476 while retries > 0:
2477 retries -= 1 2477 retries -= 1
2478 with open(os.devnull, 'w') as FNULL: 2478 with open(os.devnull, 'w') as FNULL:
2479 try: 2479 try:
2480
2481 print([ FindExecutable('storescu') ] + tmp +
2482 [ _REMOTE['Server'], str(_REMOTE['DicomPort']),
2483 GetDatabasePath(image) ])
2484 subprocess.check_call([ FindExecutable('storescu') ] + tmp + 2480 subprocess.check_call([ FindExecutable('storescu') ] + tmp +
2485 [ _REMOTE['Server'], str(_REMOTE['DicomPort']), 2481 [ _REMOTE['Server'], str(_REMOTE['DicomPort']),
2486 GetDatabasePath(image) ], 2482 GetDatabasePath(image) ],
2487 stderr = FNULL) 2483 stderr = FNULL)
2488 2484