fix error
This commit is contained in:
parent
23c6753646
commit
79bf7d9694
|
@ -119,7 +119,7 @@ class Property
|
||||||
sdata = stime_tp.wday*10000 + stime_tp.hour*100 + stime_tp.minute
|
sdata = stime_tp.wday*10000 + stime_tp.hour*100 + stime_tp.minute
|
||||||
edata = etime_tp.wday*10000 + etime_tp.hour*100 + etime_tp.minute
|
edata = etime_tp.wday*10000 + etime_tp.hour*100 + etime_tp.minute
|
||||||
end
|
end
|
||||||
if (b_sdata <= sdata && b_edata >= sdata) || (b_sdata >= sdata && b_edata <= edata) || (b_sdata <= edata && b_edata >= edata)
|
if (sdata <= b_sdata && edata >= b_sdata) || (sdata >= b_sdata && edata <= b_edata) || (sdata <= b_edata && edata >= b_edata)
|
||||||
available = false
|
available = false
|
||||||
end
|
end
|
||||||
stime_tp = stime_tp + d_step
|
stime_tp = stime_tp + d_step
|
||||||
|
|
Loading…
Reference in New Issue