comment pack_fn

This commit is contained in:
2014-11-06 17:45:51 +01:00
parent 7dd4fadce0
commit f1da558a3e

View File

@@ -282,11 +282,14 @@ class FileAPI(Resource):
@staticmethod @staticmethod
def pack_fn(filepath, filepath_zip, paths_remap_relbase, report): def pack_fn(filepath, filepath_zip, paths_remap_relbase, report):
"""
'paths_remap_relbase' is the project path,
we want all paths to be relative to this so we don't get server path included.
"""
import os import os
assert(os.path.exists(filepath) and not os.path.isdir(filepath))
import blendfile_pack import blendfile_pack
assert(os.path.exists(filepath) and not os.path.isdir(filepath))
print(" Source path:", filepath) print(" Source path:", filepath)
print(" Zip path:", filepath_zip) print(" Zip path:", filepath_zip)