diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7f924ce09..83d9b6b76 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-10-11 Brian Matherly + * src/Mime/_WinMime.py: potential fix for #446 + 2006-10-10 Alex Roitman * configure.in: Update version number. * NEWS: Update. diff --git a/gramps2/src/Mime/_WinMime.py b/gramps2/src/Mime/_WinMime.py index b70dd8932..8515ce1c4 100644 --- a/gramps2/src/Mime/_WinMime.py +++ b/gramps2/src/Mime/_WinMime.py @@ -80,7 +80,11 @@ def get_application(type): subkey = OpenKey(hcu, "Software\Microsoft\Windows\ShellNoRoam\MUICache") desc = None if subkey: - desc,type = QueryValueEx(subkey, app) + try: + desc,ValType = QueryValueEx(subkey, app) + except: + # No friendly name exists. Use progId + desc = progId CloseKey(subkey) else: desc = progId