diff --git a/doc/Manual.txt b/doc/Manual.txt index 843cdd2..ca833bc 100644 --- a/doc/Manual.txt +++ b/doc/Manual.txt @@ -491,7 +491,10 @@ along with extensions to use. For example, in '.mw':writers.MediaWiki, } -If an extension is ``.none`` the output will *not* be written to a file. +If an extension begins in ``.none`` the output will *not* be written +to a file. Note that you can't have the same extension multiple times +due to the way python dictionaries work: use ``.none1``, ``.none2``, +etc. This *can* be configured through supybot. To do this, set ``supybot.plugins.MeetBot.writer_map`` to a space-separated list of diff --git a/ircmeeting/meeting.py b/ircmeeting/meeting.py index c555fe0..bf912c9 100644 --- a/ircmeeting/meeting.py +++ b/ircmeeting/meeting.py @@ -218,7 +218,7 @@ class Config(object): if getattr(self, "dontSave", False): pass # ".none" or a single "." disable writing. - elif extension.lower() in (".none", "."): + elif extension.lower()[:5] in (".none", "."): pass else: self.writeToFile(text, filename)