Merge pull request #6099 from erictsaivfx/bugfix/tools-workfiles-typo

AYON Workfiles tool: Fix arrow to timezone typo
This commit is contained in:
Jakub Trllo 2024-01-03 10:25:53 +01:00 committed by GitHub
commit c62ede3fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -606,7 +606,7 @@ class PublishWorkfilesModel:
print("Failed to format workfile path: {}".format(exc))
dirpath, filename = os.path.split(workfile_path)
created_at = arrow.get(repre_entity["createdAt"].to("local"))
created_at = arrow.get(repre_entity["createdAt"]).to("local")
return FileItem(
dirpath,
filename,