forked from openlp/openlp
debugging
This commit is contained in:
parent
a16853e2d7
commit
8f4e7dc7db
@ -348,9 +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('VLC Path: %s', os.environ['PYTHON_VLC_LIB_PATH'])
|
||||
print('VLC Path: {}'.format(os.environ['PYTHON_VLC_LIB_PATH']))
|
||||
else:
|
||||
log.debug('Not frozen')
|
||||
print('Not frozen: {}'.format(str(AppLocation.get_directory(AppLocation.AppDir))))
|
||||
# Initialise the resources
|
||||
qInitResources()
|
||||
# Now create and actually run the application.
|
||||
|
Loading…
Reference in New Issue
Block a user