1
0
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:
Adolfo Gómez García 2022-06-06 21:42:55 +02:00
commit d96a5e69b0

View File

@ -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)))