mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix(global): version should be number
This commit is contained in:
parent
833ba22ecf
commit
295208279f
1 changed files with 2 additions and 2 deletions
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue