Kaydet (Commit) ea9dbb8e authored tarafından Mark Dickinson's avatar Mark Dickinson

Merged revisions 80040 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80040 | mark.dickinson | 2010-04-13 12:54:59 +0100 (Tue, 13 Apr 2010) | 1 line

  Fix invalid syntax.
........
üst 04de40e6
......@@ -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
......
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