This commit is contained in:
ed 2021-07-13 00:54:23 +02:00
parent 016dba4ca9
commit e9ae9782fe
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# coding: utf-8
VERSION = (0, 11, 38)
VERSION = (0, 11, 39)
CODENAME = "the grid"
BUILD_DT = (2021, 7, 13)

View file

@ -171,7 +171,7 @@ class HttpSrv(object):
"""takes an incoming tcp connection and creates a thread to handle it"""
now = time.time()
if self.tp_time and now - self.tp_time > 300:
if now - (self.tp_time or now) > 300:
self.tp_q = None
if self.tp_q: