sound_canberra pylint fixes
This commit is contained in:
parent
df1994d6f3
commit
a86c5188c4
|
@ -1,4 +1,8 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
"""
|
||||||
|
src/plugins/proxyconfig_stem.py
|
||||||
|
===================================
|
||||||
|
"""
|
||||||
|
|
||||||
from pybitmessage.bitmessageqt import sound
|
from pybitmessage.bitmessageqt import sound
|
||||||
|
|
||||||
|
@ -14,7 +18,8 @@ _theme = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def connect_plugin(category, label=None):
|
def connect_plugin(category, label=None): # pylint: disable=unused-argument
|
||||||
|
"""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)
|
||||||
except (KeyError, pycanberra.CanberraException):
|
except (KeyError, pycanberra.CanberraException):
|
||||||
|
|
Reference in New Issue
Block a user