comparison Resources/SyncOrthancFolder.py @ 137:cc0765aae484

fix signature of orthanc.RestOutput.SendHttpStatus()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Sep 2023 13:32:32 +0200
parents 4cf3c2bc119f
children 8b310d571e5b
comparison
equal deleted inserted replaced
136:286368f6f019 137:cc0765aae484
77 77
78 pool = multiprocessing.Pool(10) # simultaneous downloads 78 pool = multiprocessing.Pool(10) # simultaneous downloads
79 pool.map(Download, commands) 79 pool.map(Download, commands)
80 80
81 81
82 if False: 82 # Patch the SDK, if need be
83 # Patch the SDK 83 patch = os.path.join(os.path.abspath(os.path.dirname(__file__)),
84 subprocess.check_call([ 'patch', '-p0', '-i', os.path.join 84 'OrthancCPlugin-%s.patch' % PLUGIN_SDK_VERSION)
85 (os.path.abspath(os.path.dirname(__file__)), 85 if os.path.exists(patch):
86 'OrthancCPlugin-%s.patch' % PLUGIN_SDK_VERSION) ], 86 subprocess.check_call([ 'patch', '-p0', '-i', patch ],
87 cwd = os.path.join(os.path.dirname(__file__), 87 cwd = os.path.join(os.path.dirname(__file__),
88 'Orthanc', 88 'Orthanc',
89 'Sdk-%s' % PLUGIN_SDK_VERSION, 'orthanc')) 89 'Sdk-%s' % PLUGIN_SDK_VERSION, 'orthanc'))