summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-07-21 22:38:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-07-21 22:38:33 +0200
commit984fa1addf3b0ad694978d244ccd73123ca30608 (patch)
tree5ed90685b1649455e49c63083383f2f6b71259ee /modules
parentcd01be4952a6ef00cf325e7a9f818872dc7dfcf0 (diff)
downloadcurunir-984fa1addf3b0ad694978d244ccd73123ca30608.tar
curunir-984fa1addf3b0ad694978d244ccd73123ca30608.zip
Allow setting parameters for fortune in config file
Diffstat (limited to 'modules')
-rw-r--r--modules/fortune.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fortune.py b/modules/fortune.py
index e7c999e..09e2e41 100644
--- a/modules/fortune.py
+++ b/modules/fortune.py
@@ -17,4 +17,4 @@ class Module(ModuleBase):
if not re.match(r'!fortune(?:\W|\Z)', text):
return
- handler.reply(subprocess.Popen([self.fortune], stdout=subprocess.PIPE).communicate()[0].strip())
+ handler.reply(subprocess.Popen(self.fortune, stdout=subprocess.PIPE).communicate()[0].strip())