sound_canberra docstring and formatting
This commit is contained in:
parent
e24f4de40e
commit
208090ce5d
|
@ -1,7 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""
|
"""
|
||||||
src/plugins/proxyconfig_stem.py
|
Sound theme plugin using pycanberra
|
||||||
===================================
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from pybitmessage.bitmessageqt import sound
|
from pybitmessage.bitmessageqt import sound
|
||||||
|
@ -18,7 +17,7 @@ _theme = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def connect_plugin(category, label=None): # pylint: disable=unused-argument
|
def connect_plugin(category, label=None): # pylint: disable=unused-argument
|
||||||
"""This function implements the entry point."""
|
"""This function implements the entry point."""
|
||||||
try:
|
try:
|
||||||
_canberra.play(0, pycanberra.CA_PROP_EVENT_ID, _theme[category], None)
|
_canberra.play(0, pycanberra.CA_PROP_EVENT_ID, _theme[category], None)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user