diff options
| author | bwarsaw | 2001-03-02 00:50:12 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-03-02 00:50:12 +0000 |
| commit | eb50f20ee6c4722b3e05366fa7c6ff7d0451bd79 (patch) | |
| tree | c1dc12afe4d2bb0e68e7e3dd61e268f88e2f894f | |
| parent | 558ce2f1a206c7c89df5137179b48ecf9d30fa0d (diff) | |
| download | mailman-eb50f20ee6c4722b3e05366fa7c6ff7d0451bd79.tar.gz mailman-eb50f20ee6c4722b3e05366fa7c6ff7d0451bd79.tar.zst mailman-eb50f20ee6c4722b3e05366fa7c6ff7d0451bd79.zip | |
| -rw-r--r-- | Mailman/HTMLFormatter.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index c0bc75284..a6c53446d 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -426,6 +426,7 @@ class HTMLFormatter: os.makedirs(dstdir, 02775) finally: os.umask(omask) - # Now copy all the .html files over - for file in [f for f in os.listdir(srcdir) if f.endswith('.html')]: + # Now copy all the .html and .txt files over + for file in [f for f in os.listdir(srcdir) + if f.endswith('.html') or f.endswith('.txt')]: shutil.copy(os.path.join(srcdir, file), dstdir) |
