debugging

This commit is contained in:
Raoul Snyman 2019-04-11 20:55:45 -07:00
parent a16853e2d7
commit 8f4e7dc7db

View File

@ -348,9 +348,9 @@ def main(args=None):
# Set the libvlc environment variable if we're frozen # Set the libvlc environment variable if we're frozen
if getattr(sys, 'frozen', False): if getattr(sys, 'frozen', False):
os.environ['PYTHON_VLC_LIB_PATH'] = str(AppLocation.get_directory(AppLocation.AppDir)) 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: else:
log.debug('Not frozen') print('Not frozen: {}'.format(str(AppLocation.get_directory(AppLocation.AppDir))))
# Initialise the resources # Initialise the resources
qInitResources() qInitResources()
# Now create and actually run the application. # Now create and actually run the application.