mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Fix version comparison
This commit is contained in:
parent
82f9da2c8e
commit
f947e2efe7
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ def get_data_subprocess(config_path, data_type):
|
|||
def compatible_python():
|
||||
"""Only 3.9 or higher can directly use PyOpenColorIO in ocio_wrapper"""
|
||||
compatible = False
|
||||
if sys.version[0] == 3 and sys.version[1] >= 9:
|
||||
if sys.version_info.major == 3 and sys.version_info.minor >= 9:
|
||||
compatible = True
|
||||
return compatible
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue