diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-04-13 12:43:07 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-04-13 12:43:07 (GMT) |
commit | f1407189af868f4c05cbc7263411176344b70ad9 (patch) | |
tree | 9809954a7f6a29eed40728a64f753c60d4f50714 | |
parent | 141b72e41c37d034a2f0c10bf108b20f4f61b9e6 (diff) | |
download | cpython-f1407189af868f4c05cbc7263411176344b70ad9.zip cpython-f1407189af868f4c05cbc7263411176344b70ad9.tar.gz cpython-f1407189af868f4c05cbc7263411176344b70ad9.tar.bz2 |
Fixed extraneous _winreg (changed to winreg in py3k). Thanks, Tim Golden.
-rw-r--r-- | Lib/test/test_winsound.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_winsound.py b/Lib/test/test_winsound.py index 434e602..88aed77 100644 --- a/Lib/test/test_winsound.py +++ b/Lib/test/test_winsound.py @@ -13,7 +13,7 @@ import winreg def has_sound(sound): """Find out if a particular event is configured with a default sound""" try: - key = winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER, + 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 "": |