Update openpype/plugins/publish/extract_review_slate.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Jiri Sindelar 2022-05-23 13:20:10 +02:00 committed by GitHub
parent a176228396
commit bf80eee178
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,8 @@ class ExtractReviewSlate(openpype.api.Extractor):
one_frame_duration = float(1.0) / float(items[0])
elif len(items) == 2:
one_frame_duration = float(items[1]) / float(items[0])
else:
one_frame_duration = 0
one_frame_duration *= 1000000
one_frame_duration = str(int(one_frame_duration)) + "us"
self.log.debug(