add duration

This commit is contained in:
Ruben 2018-01-05 01:07:20 +01:00
parent 212da04421
commit e888f566b6

View file

@ -134,7 +134,7 @@ while True:
lastFaceTime = end
content = urllib2.urlopen("https://artstats.rubenvandeven.com/artwork1/views.php?time=%d&count=%d&total=%d" % (int(time.time()), len(faces), int(totalUse)) ).read()
content = urllib2.urlopen("https://artstats.rubenvandeven.com/artwork1/views.php?time=%d&count=%d&total=%d&duration=%f" % (int(time.time()), len(faces), int(totalUse), scanDuration) ).read()
#~ if end - start < frameTimeDelta: