diff options
-rw-r--r-- | bin/feed | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |