diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/fortune.py | 2 |
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()) |