fix daily stat

This commit is contained in:
Mickael 2020-03-06 20:55:29 +01:00
parent 24810ff5af
commit 808888993c

View file

@ -43,7 +43,6 @@ def main():
uniqueUserGlobal = [None] * nbElements uniqueUserGlobal = [None] * nbElements
waittest = 0
idChannel = 0 idChannel = 0
channels = getAllChannels(rocket) channels = getAllChannels(rocket)
for channel in channels: for channel in channels:
@ -97,9 +96,6 @@ def main():
messagesByChannel.append(messageByChannel) messagesByChannel.append(messageByChannel)
usersByChannel.append(userByChannel) usersByChannel.append(userByChannel)
waittest += 1
if waittest >= 5:
waittest = 0
print("Wait {}/{}".format(idChannel, len(channels))) print("Wait {}/{}".format(idChannel, len(channels)))
time.sleep(30) time.sleep(30)