sound_canberra docstring and formatting

This commit is contained in:
lakshyacis 2019-12-21 12:45:52 +05:30
parent e24f4de40e
commit 208090ce5d
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
"""
src/plugins/proxyconfig_stem.py
===================================
Sound theme plugin using pycanberra
"""
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."""
try:
_canberra.play(0, pycanberra.CA_PROP_EVENT_ID, _theme[category], None)