From 0355e29b7c8f0c73bd1d9e9608f4b42dfef9df91 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 24 Jun 2013 14:49:53 +0200 Subject: [PATCH] Minor fix (NoneType has no attribute split) --- lib/core/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index ae24980b4..702aefe17 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -660,10 +660,10 @@ def getDocRoot(): if choice == "2": message = "please provide the web server document root: " - docRoot = readInput(message).split(',') + docRoot = readInput(message, default="").split(',') elif choice == "3": message = "what's the list file location?\n" - listPath = readInput(message) + listPath = readInput(message, default="") checkFile(listPath) docRoot = getFileItems(listPath) elif choice == "4":