~sircmpwn/lists.sr.ht

a2410e695131e46836a94d5177087c5c3e3b1482 — Drew DeVault 4 months ago 15f7d07 0.38.8
filters.py: Fix issue with patch detection
1 files changed, 1 insertions(+), 1 deletions(-)

M listssrht/filters.py
M listssrht/filters.py => listssrht/filters.py +1 -1
@@ 121,7 121,7 @@ def _format_patch(msg, limit=None):
    return text.rstrip()

def format_body(msg, limit=None):
    if msg.patch != None:
    if msg.patch() is not None:
        return _format_patch(msg, limit)
    text = Markup("")
    line_no = 0