diff --git a/openlp/core/utils/__init__.py b/openlp/core/utils/__init__.py index 656c9f1cb..2713973f2 100644 --- a/openlp/core/utils/__init__.py +++ b/openlp/core/utils/__init__.py @@ -34,11 +34,10 @@ import urllib.request from http.client import HTTPException from random import randint from shutil import which -from subprocess import Popen, PIPE -from PyQt5 import QtGui, QtCore +from PyQt5 import QtGui -from openlp.core.common import Registry, AppLocation, Settings, is_win, is_macosx +from openlp.core.common import Registry, is_win, is_macosx if not is_win() and not is_macosx(): try: diff --git a/tests/functional/openlp_core_common/test_versionchecker.py b/tests/functional/openlp_core_common/test_versionchecker.py index ab2269667..d14bfa679 100644 --- a/tests/functional/openlp_core_common/test_versionchecker.py +++ b/tests/functional/openlp_core_common/test_versionchecker.py @@ -60,4 +60,4 @@ class TestVersionchecker(TestMixin, TestCase): version_thread.run() # THEN: If the version has changed the main window is notified self.assertTrue(mocked_main_window.openlp_version_check.emit.called, - 'The main windows should have been notified') \ No newline at end of file + 'The main windows should have been notified')