diff options
author | mjfernez <mjfernez@gmail.com> | 2021-06-16 00:20:33 -0400 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2021-06-16 00:20:33 -0400 |
commit | 03e3f1d478866c68be79adb5d555d8d0d77a312b (patch) | |
tree | 161662431eac34bc26e0be52f8a9f3f46cbea58f | |
parent | 945594509e6a19ab0229e9949691e2f7652ea500 (diff) | |
download | ezcms-03e3f1d478866c68be79adb5d555d8d0d77a312b.tar.gz |
hotfix: allowed hiddent top site dirs
-rw-r--r-- | server.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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( { |