mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-24 21:34:41 +03:00
Merge remote-tracking branch 'origin/v3.5'
This commit is contained in:
commit
d96a5e69b0
@ -114,7 +114,7 @@ class StatsReportLogin(StatsReport):
|
||||
xLabelFormat = 'SHORT_DATETIME_FORMAT'
|
||||
|
||||
samplingIntervals: typing.List[typing.Tuple[int, int]] = []
|
||||
samplingIntervalSeconds = (end - start) // samplingPoints
|
||||
samplingIntervalSeconds = (end - start) / samplingPoints
|
||||
for i in range(samplingPoints):
|
||||
samplingIntervals.append((int(start + i * samplingIntervalSeconds), int(start + (i + 1) * samplingIntervalSeconds)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user