Debugging when not frozen too

This commit is contained in:
Raoul Snyman 2019-04-11 20:51:44 -07:00
parent cec6f13506
commit a16853e2d7
2 changed files with 3 additions and 1 deletions

View File

@ -348,7 +348,9 @@ def main(args=None):
# Set the libvlc environment variable if we're frozen
if getattr(sys, 'frozen', False):
os.environ['PYTHON_VLC_LIB_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir))
log.debug(os.environ['PYTHON_VLC_LIB_PATH'])
log.debug('VLC Path: %s', os.environ['PYTHON_VLC_LIB_PATH'])
else:
log.debug('Not frozen')
# Initialise the resources
qInitResources()
# Now create and actually run the application.

0
run_openlp.py Normal file → Executable file
View File