# HG changeset patch # User Sebastien Jodogne # Date 1444407936 -7200 # Node ID 419a55b6e362774c669959375d7e2e5de4e7a7cc # Parent 7479f1549b437ee4cebf2837e6614d2074faac49 better diff -r 7479f1549b43 -r 419a55b6e362 Resources/SyncOrthancFolder.py --- a/Resources/SyncOrthancFolder.py Fri Oct 09 18:23:30 2015 +0200 +++ b/Resources/SyncOrthancFolder.py Fri Oct 09 18:25:36 2015 +0200 @@ -11,6 +11,7 @@ TARGET = os.path.join(os.path.dirname(__file__), '..', 'Orthanc') PLUGIN_SDK_VERSION = '0.9.4' +REPOSITORY = 'https://bitbucket.org/sjodogne/orthanc/raw' FILES = [ 'Plugins/Samples/Common/ExportedSymbols.list', @@ -49,7 +50,7 @@ except: pass - url = 'https://bitbucket.org/sjodogne/orthanc/raw/%s/%s' % (branch, source) + url = '%s/%s/%s' % (REPOSITORY, branch, source) with open(target, 'w') as f: f.write(urllib2.urlopen(url).read())