vermouth.processors.quote module
Reads quotes, and produces a random one.
-
class vermouth.processors.quote.Quoter(quotes=None)[source]
Bases: Processor
Processor that can produce random string taken from a list. Useful for e.g.
quotes.
- Parameters:
quotes (list[str]) – List of strings describing the quotes.
-
run_system(system)[source]
Logs a random line from the list passed at initialization.
- Parameters:
system – Not used
- Return type:
None