summaryrefslogtreecommitdiffstats
path: root/bin/html
diff options
context:
space:
mode:
Diffstat (limited to 'bin/html')
-rw-r--r--bin/html9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/html b/bin/html
index 503a254..6c545e5 100644
--- a/bin/html
+++ b/bin/html
@@ -26,6 +26,15 @@ def err(s):
sys.exit(1)
+def fok(f):
+ p = os.path.basename(f.path)
+
+ if re.search(r'(^[\.\#])|(~$)', p):
+ return False
+
+ return True
+
+
def files():
return os.scandir('md/news')