Fix linting and remove duplicated VLC path env var

This commit is contained in:
Raoul Snyman 2019-05-22 09:59:58 -07:00
parent ca5e46eb49
commit ebc6e69668
1 changed files with 0 additions and 4 deletions

View File

@ -31,7 +31,6 @@ import logging
import os
import sys
import time
import os
from datetime import datetime
from traceback import format_exception
@ -347,9 +346,6 @@ def main():
# Bug #1018855: Set the WM_CLASS property in X11
if not is_win() and not is_macosx():
qt_args.append('OpenLP')
# 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))
# Initialise the resources
qInitResources()
# Now create and actually run the application.