fix(global): version should be number

This commit is contained in:
Jakub Jezek 2020-02-28 12:28:26 +01:00
parent 833ba22ecf
commit 295208279f
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -21,7 +21,7 @@ class CollectSceneVersion(pyblish.api.ContextPlugin):
if '<shell>' in filename:
return
rootVersion = pype.get_version_from_path(filename)
rootVersion = int(pype.get_version_from_path(filename))
context.data['version'] = rootVersion
self.log.info("{}".format(type(rootVersion)))
self.log.info('Scene Version: %s' % context.data.get('version'))