DLL path fix in frozen mode

Addresses #152
master
mailchuck 7 years ago committed by Peter Surda
parent 6a965cd31a
commit b7e24fab4a

@ -87,7 +87,7 @@ def check_openssl():
paths = ['libeay32.dll']
if getattr(sys, 'frozen', False):
import os.path
paths.append(os.path.join(sys._MEIPASS, 'libeay32.dll'))
paths.insert(0, os.path.join(sys._MEIPASS, 'libeay32.dll'))
else:
paths = ['libcrypto.so']
if sys.platform == 'darwin':

Loading…
Cancel
Save