Commit 20d6b32f authored by Betoule Marc's avatar Betoule Marc
Browse files

tiny bug fix in web

parent 145d8551
......@@ -354,9 +354,10 @@ class Web:
e = [tcounts[i] for i in index[s[2]]]
except IndexError:
e = []
ss = s[3] + '<span class="pipetag">%s</span>'%("" if str(s[4])=='None' else s[4])
ss = s[3]
if ss is None:
ss = ""
ss += '<span class="pipetag">%s</span>'%("" if str(s[4])=='None' else s[4])
ss = '<a class="icon image" href="index?thumbnail=%d"></a>'%(s[2])+ss
for stat in e:
ss = '<a href="product?segid=%s&status=%s" class=%s>%d</a>, '%(s[2],stat[1], stat[1], stat[2]) + ss
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment