aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rw-r--r--server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.py b/server.py
index e77485c..ea04690 100644
--- a/server.py
+++ b/server.py
@@ -22,7 +22,8 @@ def setup():
else:
s = './templates/site/'
top_dirs = [
- x for x in os.listdir(s) if os.path.isdir(s + x)
+ x for x in os.listdir(s) \
+ if os.path.isdir(s + x) and not x.startswith('.')
]
app.config.update(
{