forked from openlp/openlp
Fixed loading of libvlc.dll on windows
This commit is contained in:
parent
d61111ab89
commit
248e703345
|
@ -110,7 +110,10 @@ def find_lib():
|
|||
p = find_library('libvlc.dll')
|
||||
if p is None:
|
||||
try: # some registry settings
|
||||
import _winreg as w # leaner than win32api, win32con
|
||||
if PYTHON3:
|
||||
import winreg as w # leaner than win32api, win32con
|
||||
else:
|
||||
import _winreg as w # leaner than win32api, win32con
|
||||
for r in w.HKEY_LOCAL_MACHINE, w.HKEY_CURRENT_USER:
|
||||
try:
|
||||
r = w.OpenKey(r, 'Software\\VideoLAN\\VLC')
|
||||
|
|
Loading…
Reference in New Issue