mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-22 18:12:31 +00:00
Added metadata to Sinfonietta’s hosts source files.
This commit is contained in:
1 parent
fe19470bf7
commit
09e983ffc2
22 files changed
+38
-19
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user