Handle empty from or subject
This commit is contained in:
parent
b09e1b4613
commit
14130941c7
2
mbox2web
2
mbox2web
|
@ -1104,7 +1104,7 @@ class Thread:
|
||||||
for r in m.in_reply_to:
|
for r in m.in_reply_to:
|
||||||
p = self.messages[r]
|
p = self.messages[r]
|
||||||
edges.append((p.x, p.y, m.x, m.y))
|
edges.append((p.x, p.y, m.x, m.y))
|
||||||
lines.append((m.date, m.mfrom, m.subject, m.encmsgid))
|
lines.append((m.date, m.mfrom or "(no sender)", m.subject or "(no subject)", m.encmsgid))
|
||||||
y += 1
|
y += 1
|
||||||
s = "<table class='thread'>"
|
s = "<table class='thread'>"
|
||||||
s += "<tr>"
|
s += "<tr>"
|
||||||
|
|
Loading…
Reference in New Issue