Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notify_osd doesn't care whether it's enabled or not #63

Closed
moraxy opened this issue Jul 14, 2013 · 1 comment
Closed

notify_osd doesn't care whether it's enabled or not #63

moraxy opened this issue Jul 14, 2013 · 1 comment

Comments

@moraxy
Copy link

moraxy commented Jul 14, 2013

notify_osd.py

schema = {
    'oneOf': [
        {'type': 'boolean'},
        ...

def prepare_config(self, config):
    if isinstance(config, bool):
        config = {}
    config.setdefault('title_template', '{{task.name}}')
    config.setdefault('item_template', '{{title}}')
    config.setdefault('timeout', 4)
    return config

Both notify_osd: yes and notify_osd: no will result in a notification

@gazpachoking
Copy link
Member

Thanks for the report! Fixed in 9e9fb96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants