Commit 141b72e4 authored by Mark Dickinson's avatar Mark Dickinson

Fix invalid syntax.

parent a09543c6
...@@ -16,7 +16,7 @@ def has_sound(sound): ...@@ -16,7 +16,7 @@ def has_sound(sound):
key = winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER, key = winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER,
"AppEvents\Schemes\Apps\.Default\{0}\.Default".format(sound)) "AppEvents\Schemes\Apps\.Default\{0}\.Default".format(sound))
value = winreg.EnumValue(key, 0)[1] value = winreg.EnumValue(key, 0)[1]
if value is not u"": if value is not "":
return True return True
else: else:
return False return False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment