make sure get max version is integer

This commit is contained in:
Kayla Man 2023-10-12 16:40:31 +08:00
parent 32820f4bfa
commit 6d04bcd7ac

View file

@ -37,7 +37,7 @@ class ExtractReviewAnimation(publish.Extractor):
" '%s' to '%s'" % (filename, staging_dir))
review_camera = instance.data["review_camera"]
if get_max_version() >= 2024:
if int(get_max_version()) >= 2024:
with viewport_setup_updated(review_camera):
preview_arg = set_preview_arg(
instance, filepath, start, end, fps)