dont queue pull if pull is running

This commit is contained in:
j 2015-12-01 10:39:47 +01:00
commit 0def130b4a
2 changed files with 7 additions and 3 deletions

View file

@ -221,8 +221,8 @@ class Handler(http.server.SimpleHTTPRequestHandler):
logger.debug('PEER %s IS UNKNOWN SEND 403', user_id)
response_status = (403, 'UNKNOWN USER')
content = {}
else:
logger.debug('RESPONSE %s: %s', action, content)
#else:
# logger.debug('RESPONSE %s: %s', action, content)
self.write_response(response_status, content)
def write_response(self, response_status, content):