import subprocess
from pijobs.scrolljob import SrollJob

class FortuneJob(ScrollJob):
    def message(self):
        return self.run_cmd('fortune')

    def run_cmd(cmd):
        p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
        output = p.communicate()[0]
        return output

Add job to display fortunes.
Add job to display fortunes.
