diff options
-rw-r--r-- | app.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -53,6 +53,9 @@ class ScanHandler(tornado.web.RequestHandler): 'raw': " ".join(r.groups(0)) }) + if len(out['results']) < 1: + out['results'].append({'raw': 'No open ports found'}) + self.write(out) |