Fix invalid syntax.
This commit is contained in:
parent
a09543c65c
commit
141b72e41c
|
@ -16,7 +16,7 @@ def has_sound(sound):
|
|||
key = winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER,
|
||||
"AppEvents\Schemes\Apps\.Default\{0}\.Default".format(sound))
|
||||
value = winreg.EnumValue(key, 0)[1]
|
||||
if value is not u"":
|
||||
if value is not "":
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue