sound_playfile quality fixes

This commit is contained in:
lakshyacis 2019-12-21 12:46:31 +05:30
parent 8338a9ee74
commit a31d6c8422
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
"""
src/plugins/sound_playfile.py
===================================
Sound notification plugin using external executable or winsound (on Windows)
"""
try:
@ -23,7 +22,7 @@ except ImportError:
def connect_plugin(sound_file):
"""This function implements the entry point."""
global play_cmd # pylint: disable=global-statement
global play_cmd # pylint: disable=global-statement
ext = os.path.splitext(sound_file)[-1]
try: