Commit cf9f494d authored by Valentin Samir's avatar Valentin Samir

ignore hidden directories

parent e7d10068
......@@ -15,7 +15,7 @@ def get_zones(zone_names=None):
l = []
if zone_names is None:
for f in os.listdir(BASE):
if os.path.isdir(os.path.join(BASE, f)):
if os.path.isdir(os.path.join(BASE, f)) and not f.startswith('.'):
l.append(Zone(f))
else:
for name in zone_names:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment