# HG changeset patch # User Benoit Crickboom # Date 1755343142 -7200 # Node ID 211d3cf87e6d611059b9b09e17d9931d448e3eac # Parent 44700cfa76560b9757d2a09b78819bac0bb5867a really fixed auto routing bug (DW) in Python page diff -r 44700cfa7656 -r 211d3cf87e6d Sphinx/source/plugins/python/autorouting-2.py --- a/Sphinx/source/plugins/python/autorouting-2.py Sat Aug 16 13:18:17 2025 +0200 +++ b/Sphinx/source/plugins/python/autorouting-2.py Sat Aug 16 13:19:02 2025 +0200 @@ -5,6 +5,6 @@ if changeType == orthanc.ChangeType.STABLE_STUDY: print('Stable study: %s' % resourceId) payload = { "Resources" : [resourceId] } - orthanc.RestApiPostAfterPlugins('/dicom-web/servers/sample/stow', payload) + orthanc.RestApiPostAfterPlugins('/dicom-web/servers/sample/stow', json.dumps(payload)) orthanc.RegisterOnChangeCallback(OnChange)