mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix invalid syntax.
This commit is contained in:
parent
a09543c65c
commit
141b72e41c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue