From e8d62e5db164fa724013ad939e126459c5462833 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Sun, 13 Oct 2013 15:33:57 +0200 Subject: [PATCH] fix import regression from 11246f5 --- isso/migrate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/isso/migrate.py b/isso/migrate.py index 1feaf04..d2d8c1b 100644 --- a/isso/migrate.py +++ b/isso/migrate.py @@ -55,7 +55,8 @@ def disqus(db, xmlfile): 'email': post.find('%sauthor/%semail' % (ns, ns)).text, 'created': mktime(strptime( post.find('%screatedAt' % ns).text, '%Y-%m-%dT%H:%M:%SZ')), - 'remote_addr': '127.0.0.0' + 'remote_addr': '127.0.0.0', + 'mode': 1 } if post.find(ns + 'parent') is not None: