use absolute path to fortune

workspace
Brendan Howell 8 years ago
parent ccf3498a68
commit 6a8cba2851

@ -21,7 +21,7 @@ class Humor(Bureau):
"""
Prints a clever quip.
"""
jux = str(subprocess.check_output("fortune"), encoding="UTF-8")
jux = str(subprocess.check_output("/usr/games/fortune"), encoding="UTF-8")
self.print_small(jux)

Loading…
Cancel
Save