Closedown

This commit is contained in:
x03daop
2016-04-05 16:19:34 +02:00
parent ac5e263a5a
commit 9b1deb9626

View File

@@ -924,6 +924,8 @@ def main(args):
guard.mainloop()
except KeyboardInterrupt:
logging.info("scan guard aborted by user")
except:
print sys.exc_info()[1]
def test():
@@ -970,6 +972,8 @@ if True: #__name__ == '__main__':
parser.add_argument("-l", "--loglevel", dest="loglevel", default="INFO",
choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"])
args = parser.parse_args()
args.loglevel = logging.DEBUG
main(args)