diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/postutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/postutil.py b/utils/postutil.py index 7b47997..86bd472 100644 --- a/utils/postutil.py +++ b/utils/postutil.py @@ -121,7 +121,7 @@ def process_post(fn, is_updating): tagline = None fbasen = os.path.basename(fn) ts = int(fbasen[:fbasen.index('-')]) - with open(fn, "r") as f: + with open(os.path.join(conf.LOCAL_DATA_ROOT, fn), "r") as f: for l in f: line = l.strip() if line.startswith("--"): |