From 7822d130f96cd335a9004ce2769cee12edca558d Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Fri, 28 May 2021 00:03:47 -0400 Subject: [PATCH] Change nanoseconds to seconds in extract_assets.py (#829) --- extract_assets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract_assets.py b/extract_assets.py index 941dea1235..add331f57d 100755 --- a/extract_assets.py +++ b/extract_assets.py @@ -52,12 +52,12 @@ def ExtractFunc(fullPath): if not globalForce: if fullPath in globalExtractedAssetsTracker: timestamp = globalExtractedAssetsTracker[fullPath]["timestamp"] - modificationTime = int(os.path.getmtime(fullPath) * (10**9)) + modificationTime = int(os.path.getmtime(fullPath)) if modificationTime < timestamp: # XML has not been modified since last extraction. return - currentTimeStamp = time.time_ns() + currentTimeStamp = int(time.time()) if isScene: ExtractScene(fullPath, outPath, outSourcePath)