diff options
author | Filipp Lepalaan <f@230.to> | 2014-02-14 12:49:10 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-02-14 12:49:10 +0200 |
commit | 8ffb2c2ed06c67ba062811a26c7357d49823f1db (patch) | |
tree | 16303d75a4235918ce9f3c6a71cc88a6de990b62 | |
parent | 3d7b685ac9753f0304f5384120909731a8902c65 (diff) | |
download | intercheck-8ffb2c2ed06c67ba062811a26c7357d49823f1db.tar.gz intercheck-8ffb2c2ed06c67ba062811a26c7357d49823f1db.tar.bz2 intercheck-8ffb2c2ed06c67ba062811a26c7357d49823f1db.zip |
-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) |