Map saving first pass
This commit is contained in:
@@ -2,9 +2,14 @@ import os
|
||||
import sys
|
||||
from args import args
|
||||
from assethelpers import getAssetRelativePath
|
||||
from assetcache import assetGetCache, assetCache
|
||||
|
||||
def processConfig(asset):
|
||||
assetPath = asset['path']
|
||||
cache = assetGetCache(assetPath)
|
||||
if cache is not None:
|
||||
return cache
|
||||
|
||||
print(f"Processing config: {assetPath}")
|
||||
|
||||
# Takes each line, seperates it by either semicolon or newline,
|
||||
@@ -41,4 +46,4 @@ def processConfig(asset):
|
||||
outConfig = {
|
||||
"files": [ outputFilePath ],
|
||||
}
|
||||
return outConfig
|
||||
return assetCache(assetPath, outConfig)
|
Reference in New Issue
Block a user