Added metadata to Sinfonietta’s hosts source files.

This commit is contained in:
Steven Black
2016-12-11 13:44:51 -05:00
parent 0877758116
commit 7119b725e7
14 changed files with 38 additions and 19 deletions

View File

@@ -300,7 +300,7 @@ def createInitialFile():
#Done in a cross-python way
writeData(mergeFile, curFile.read())
pathToUpdateFile = os.path.join(settings["datapath"], source, settings["sourcedatafilename"])
pathToUpdateFile = os.path.join(settings["extensionspath"], source, settings["sourcedatafilename"])
if os.path.exists(pathToUpdateFile):
updateFile = open(pathToUpdateFile, "r")
updateData = json.load(updateFile)