Check path

This commit is contained in:
Difrex 2016-10-09 00:59:26 +03:00
parent 0d686f9f8d
commit 4a45480c09

3
mzrm
View File

@ -64,7 +64,10 @@ zk.start()
path, regex = prepare_args()
# Do it
try:
for child in zk.get_children(path):
remove(child)
except:
print('E: path ' + path + ' is not found')
zk.stop()