changeset 72:7479f1549b43

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2015 18:23:30 +0200
parents ce0aee24667b
children 419a55b6e362
files Orthanc/Resources/EmbedResources.py Orthanc/Resources/WindowsResources.py Resources/SyncOrthancFolder.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/SyncOrthancFolder.py	Fri Oct 09 18:18:24 2015 +0200
+++ b/Resources/SyncOrthancFolder.py	Fri Oct 09 18:23:30 2015 +0200
@@ -10,7 +10,6 @@
 import multiprocessing
 
 TARGET = os.path.join(os.path.dirname(__file__), '..', 'Orthanc')
-BRANCH = 'default'
 PLUGIN_SDK_VERSION = '0.9.4'
 
 FILES = [
@@ -42,8 +41,7 @@
 def Download(x):
     branch = x[0]
     source = x[1]
-
-    target = os.path.join(TARGET, source)
+    target = os.path.join(TARGET, x[2])
     print target
 
     try:
@@ -60,10 +58,12 @@
 commands = []
 
 for f in FILES:
-    commands.append([ BRANCH, f ])
+    commands.append([ 'default', f, f ])
 
 for f in SDK:
-    commands.append([ 'Orthanc-%s' % PLUGIN_SDK_VERSION, 'Plugins/Include/%s' % f ])
+    commands.append([ 'Orthanc-%s' % PLUGIN_SDK_VERSION, 
+                      'Plugins/Include/%s' % f,
+                      'Sdk-%s/%s' % (PLUGIN_SDK_VERSION, f) ])
 
 
 pool = multiprocessing.Pool(10)  # simultaneous downloads