Skip to content

Commit

Permalink
fixed content_creator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Itay4 committed Aug 8, 2018
1 parent 35ab210 commit e237c68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def is_ge_version(ver1, ver2):
for v1, v2 in zip(ver1, ver2):
if v1 > v2:
return False
elif v2 > v1:
return True

# most significant values are equal
return len(ver1) <= len(ver2)
Expand Down

0 comments on commit e237c68

Please sign in to comment.