Update system_api.py

pull/109/head
midoks 5 years ago
parent 7956c79239
commit 8e6fbaa774
  1. 4
      class/core/system_api.py

@ -605,10 +605,8 @@ class system_api:
old_list = old.split('.')
ret = 'none'
# t = [0] * 3
isHasNew = True
for i in range(3):
if int(new_list[i]) == int(old_list[i]):
if int(new_list[0]) == int(old_list[0]) and int(new_list[1]) == int(old_list[1]) and int(new_list[2]) == int(old_list[2]):
isHasNew = False
if isHasNew:

Loading…
Cancel
Save