From a16853e2d71774d62458ddbbe9a7789bee294c8e Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 11 Apr 2019 20:51:44 -0700 Subject: [PATCH] Debugging when not frozen too --- openlp/core/app.py | 4 +++- run_openlp.py | 0 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 run_openlp.py diff --git a/openlp/core/app.py b/openlp/core/app.py index 43b03ec83..7323ede8b 100644 --- a/openlp/core/app.py +++ b/openlp/core/app.py @@ -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. diff --git a/run_openlp.py b/run_openlp.py old mode 100644 new mode 100755