7 lines
181 B
Python
7 lines
181 B
Python
import os
|
|
from args import args
|
|
|
|
def getAssetRelativePath(fullPath):
|
|
# Get the relative path to the asset
|
|
return os.path.relpath(fullPath, start=args.assets).replace('\\', '/')
|