summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/feed6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/feed b/bin/feed
index e0757cb..9f4f879 100644
--- a/bin/feed
+++ b/bin/feed
@@ -11,6 +11,7 @@ import os
import os.path
import re
import subprocess as subp
+import sys
URL = 'https://fsfi.web'
@@ -32,6 +33,11 @@ E_PH = {
}
+def err(s):
+ print('Error: {}'.format(s))
+ sys.exit(1)
+
+
def files(sec):
return os.scandir('md' + '/' + sec)