changeset 286:b55a7cb5ee02

change url to get configuration.json
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 20 Apr 2020 17:34:21 +0200
parents 281a32ecc5c1
children 2dc6ab42f401
files GenerateConfigurationForTests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/GenerateConfigurationForTests.py	Fri Apr 03 14:04:10 2020 +0200
+++ b/GenerateConfigurationForTests.py	Mon Apr 20 17:34:21 2020 +0200
@@ -81,7 +81,8 @@
 
 # Download the content of the default configuration file
 with open(args.target, 'w') as f:
-    url = 'https://bitbucket.org/sjodogne/orthanc/raw/default/Resources/Configuration.json'
+    url = 'https://hg.orthanc-server.com/orthanc/raw-file/default/Resources/Configuration.json'
+    #url = 'https://bitbucket.org/sjodogne/orthanc/raw/default/Resources/Configuration.json'
     http = urllib.urlopen(url)
     if http.getcode() != 200:
         raise Exception('Cannot download: %s' % url)