Fixing version check
This commit is contained in:
parent
992ba4a2a9
commit
734f4c1b75
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ def inject(lib_path):
|
|||
sys.path.insert(0, path)
|
||||
|
||||
# version dependent libraries
|
||||
if sys.version_info.major >= 3:
|
||||
if sys.version_info[0] >= 3:
|
||||
inject('pyyaml/lib3')
|
||||
else:
|
||||
inject('pyyaml/lib')
|
||||
|
|
Loading…
Reference in a new issue