From 1bd24c2d5beae522f02fcef95973548a843a0431 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Fri, 27 Jan 2012 18:15:50 +0100 Subject: Bugfix for tags --- blogthon.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blogthon.cgi b/blogthon.cgi index c6fd6ee..ce5e5c5 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -152,6 +152,9 @@ if not os.path.exists(plugins_dir): if not os.path.exists("linklist"): errorpage("File \"linklist\" does not exist!") +if not os.path.exists(os.path.join(entries_dir, 'tags')) and tags == "True": + errorpage("You have to initialize your tags with ./blogthon.cgi -t first!") + if language == "de": blog_locale = ( "Seiten", -- cgit v1.2.3