Browse Source

sound_canberra docstring and formatting

v0.6
lakshyacis 3 years ago
parent
commit
208090ce5d
No known key found for this signature in database GPG Key ID: D2C539C8EC63E9EB
  1. 5
      src/plugins/sound_canberra.py

5
src/plugins/sound_canberra.py

@ -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)

Loading…
Cancel
Save