Skip to content

Commit fc0a8ee

Browse files
committed
Fix SumatraPDF registry key string
1 parent 77a41f8 commit fc0a8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/viewer/sumatra_viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _find_sumatra_exe(self):
3333
try:
3434
with winreg.OpenKey(
3535
winreg.HKEY_LOCAL_MACHINE,
36-
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion" "\\App Paths\\SumatraPDF.exe",
36+
"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\SumatraPDF.exe",
3737
) as hndl:
3838
SumatraViewer._sumatra_exe = winreg.QueryValue(hndl, "")
3939
return SumatraViewer._sumatra_exe

0 commit comments

Comments
 (0)