mirror of
https://github.com/Justuser3310/ss14_chemistry_site.git
synced 2025-02-08 09:07:38 +00:00
Изменение документации
This commit is contained in:
parent
dd9f2ebf37
commit
a546cc1bbd
6
site.py
6
site.py
@ -71,7 +71,7 @@ if option_react:
|
|||||||
# Проверяем конфликты с сложными частями: 48 != 50
|
# Проверяем конфликты с сложными частями: 48 != 50
|
||||||
lparts = 0 ; lpart = 0
|
lparts = 0 ; lpart = 0
|
||||||
for i in db[option_react]:
|
for i in db[option_react]:
|
||||||
if i[0] == 1:
|
if i[0] == True:
|
||||||
# Перебираем составные
|
# Перебираем составные
|
||||||
for el in db[i[1]]:
|
for el in db[i[1]]:
|
||||||
lparts += el[2]
|
lparts += el[2]
|
||||||
@ -88,9 +88,9 @@ if option_react:
|
|||||||
comps = {}
|
comps = {}
|
||||||
# Распределяем (пока не учитывает части и глубину)
|
# Распределяем (пока не учитывает части и глубину)
|
||||||
for i in db[option_react]:
|
for i in db[option_react]:
|
||||||
if i[0] == 0:
|
if i[0] == False:
|
||||||
comps[i[1]] = part
|
comps[i[1]] = part
|
||||||
elif i[0] == 1:
|
elif i[0] == True:
|
||||||
# Перебираем составные
|
# Перебираем составные
|
||||||
for el in db[i[1]]:
|
for el in db[i[1]]:
|
||||||
if el[1] not in comps:
|
if el[1] not in comps:
|
||||||
|
Loading…
Reference in New Issue
Block a user