Path testing shall only continue if path is not None

This commit is contained in:
Gina Häußge 2015-07-14 11:56:15 +02:00
parent d0733d8769
commit 1409b79ab5

View file

@ -245,6 +245,9 @@ def utilTestPath():
from octoprint.util.paths import normalize
path = normalize(data["path"])
if not path:
return jsonify(path=path, exists=False, typeok=False, access=False, result=False)
check_type = None
check_access = []