summaryrefslogtreecommitdiffstatshomepage
path: root/wordpress-to-dir.py
diff options
context:
space:
mode:
authorGravatar Andy Wingo2008-02-29 13:38:07 +0100
committerGravatar Andy Wingo2008-02-29 13:38:07 +0100
commitc2446d0f7f17e9a04f1cec8a2a5c93053b158880 (patch)
tree4db1a237593d6746a609cb7efd0bfd6e2d1b32d9 /wordpress-to-dir.py
parenta9141efbe695e2236e1e7e47e7b61b82c4b0ca4e (diff)
downloadtekuti-c2446d0f7f17e9a04f1cec8a2a5c93053b158880.tar.gz
tekuti-c2446d0f7f17e9a04f1cec8a2a5c93053b158880.zip
more cleanups
Diffstat (limited to 'wordpress-to-dir.py')
-rw-r--r--wordpress-to-dir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wordpress-to-dir.py b/wordpress-to-dir.py
index 239c80a..5197106 100644
--- a/wordpress-to-dir.py
+++ b/wordpress-to-dir.py
@@ -77,7 +77,7 @@ def write_post(post, categories, comments):
for k, v in post.items():
if k not in ('content', 'content_filtered'):
out += '%s: %s\n' % (k, v)
- out += 'categories: %s\n' % ', '.join(categories)
+ out += 'tags: %s\n' % ', '.join(categories)
out += 'timestamp: %s\n' % int(time.mktime(post['date'].timetuple()))
return out