From 03e3f1d478866c68be79adb5d555d8d0d77a312b Mon Sep 17 00:00:00 2001 From: mjfernez Date: Wed, 16 Jun 2021 00:20:33 -0400 Subject: hotfix: allowed hiddent top site dirs --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server.py') 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( { -- cgit v1.2.3