Minor patch

This commit is contained in:
Miroslav Stampar
2019-12-05 22:20:00 +01:00
parent 568ee4669e
commit f4bfa7a5ae
2 changed files with 47 additions and 47 deletions

View File

@@ -208,7 +208,7 @@ def smokeTest():
continue
for filename in files:
if os.path.splitext(filename)[1].lower() == ".py" and filename != "__init__.py":
if os.path.splitext(filename)[1].lower() == ".py" and filename not in ("__init__.py", "gui.py"):
path = os.path.join(root, os.path.splitext(filename)[0])
path = path.replace(paths.SQLMAP_ROOT_PATH, '.')
path = path.replace(os.sep, '.').lstrip('.')