diff options
| author | bwarsaw | 1999-05-02 22:39:57 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-05-02 22:39:57 +0000 |
| commit | bc26b6b52b057d7c73a6b77700c22fc4f8bd7f3a (patch) | |
| tree | c4e59877fa65f1fce229f7188645e45402e6d09c /Mailman/HTMLFormatter.py | |
| parent | 1e3924819a2ba755dae7a4beffb43c1f0a9606a0 (diff) | |
| download | mailman-bc26b6b52b057d7c73a6b77700c22fc4f8bd7f3a.tar.gz mailman-bc26b6b52b057d7c73a6b77700c22fc4f8bd7f3a.tar.zst mailman-bc26b6b52b057d7c73a6b77700c22fc4f8bd7f3a.zip | |
Diffstat (limited to 'Mailman/HTMLFormatter.py')
| -rw-r--r-- | Mailman/HTMLFormatter.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index 210785f4f..7c4e13c5c 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -44,9 +44,13 @@ class HTMLFormatter: owners_html.AddItem(', ') # Remove the .Format() when htmlformat conversion is done. - img = Link(mm_cfg.MAILMAN_URL, - '<img src="%s" alt="Delivered by Mailman" border=0> v %s' % - (mm_cfg.DELIVERED_BY_URL, mm_cfg.VERSION)) + if mm_cfg.DELIVERED_BY_URL: + img = Link(mm_cfg.MAILMAN_URL, + '<img src="%s" alt="Delivered by Mailman" border=0>' + ' v %s' % + (mm_cfg.DELIVERED_BY_URL, mm_cfg.VERSION)) + else: + img = 'Delivered by Mailman v %s' % mm_cfg.VERSION return Container( '<hr>', Address( |
