From 1f590f5c84a9e92c306afca48dc4cd9c75cd6763 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Tue, 26 May 2015 22:27:13 +0200 Subject: [PATCH] Use windows.location.pathname as page id --- tools/pecosys2stacosys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pecosys2stacosys.py b/tools/pecosys2stacosys.py index bfb1b28..0d5d26b 100644 --- a/tools/pecosys2stacosys.py +++ b/tools/pecosys2stacosys.py @@ -69,8 +69,8 @@ def convert_comment(db, site, root_url, filename): if 'url' in d: url = remove_from_string(d['url'], 'https://') url = remove_from_string(url, 'http://') - url = remove_from_string(url, root_url) - comment.url = remove_from_string(url, '/') + comment.url = remove_from_string(url, root_url) + # comment.url = remove_from_string(url, '/') # else: # comment.url = d['article'] if 'date' in d: