diff options
author | Florian <florianraemisch@web.de> | 2011-10-28 15:52:05 +0200 |
---|---|---|
committer | Florian <florianraemisch@web.de> | 2011-10-28 15:52:05 +0200 |
commit | a1bcdc5fcb5765a964ed134a12242a18f093a1bb (patch) | |
tree | 0d8a71c12796e06cee06f9323219d664611c5a54 /scripts | |
parent | 8181255b68685528c008ae40e89b217e95bea904 (diff) | |
parent | 16389a6f7f4afbd3856a1f6803a046ca8127b4c0 (diff) |
Merge branch 'master' of oberon.sublab.org:website
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/news.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/news.py b/scripts/news.py index ca9dfb4..1f291c7 100644 --- a/scripts/news.py +++ b/scripts/news.py @@ -6,7 +6,8 @@ import os class NewsPlugin: def __init__(self): newspath = os.path.join(template.path, 'news') - newsfiles = [ os.path.join(newspath, entry) for entry in sorted(os.listdir(newspath)) ] + newsfiles = [ os.path.join(newspath, entry) for entry in sorted(os.listdir(newspath)) \ + if not entry.startswith('.') ] self._news = [] for newsfile in reversed(newsfiles): |