diff options
author | Abdulla Ibrahim <abood91@users.noreply.github.com> | 2020-12-07 16:33:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 16:33:34 +0200 |
commit | 5add47547331d2b2a8d06cf8ce844f25d47c1b42 (patch) | |
tree | 9d96a556414ab7096196a0dccf2e1485f02759b6 | |
parent | 6ea45ad0e6fd12d44f8f29707f3de67c75ec2654 (diff) | |
download | apscheduler-5add47547331d2b2a8d06cf8ce844f25d47c1b42.tar.gz |
Fixed flake8 errors (#480)
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | apscheduler/schedulers/qt.py | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -42,7 +42,7 @@ APScheduler also integrates with several common Python frameworks, like: * `Twisted <http://twistedmatrix.com/>`_ * `Qt <http://qt-project.org/>`_ (using either `PyQt <http://www.riverbankcomputing.com/software/pyqt/intro>`_ , - `PySide2 <https://wiki.qt.io/Qt_for_Python>`_)_ or + `PySide2 <https://wiki.qt.io/Qt_for_Python>`_ or `PySide <http://qt-project.org/wiki/PySide>`_) .. [#f1] The cutoff period for this is also configurable. diff --git a/apscheduler/schedulers/qt.py b/apscheduler/schedulers/qt.py index 26ee665..dda77d7 100644 --- a/apscheduler/schedulers/qt.py +++ b/apscheduler/schedulers/qt.py @@ -12,9 +12,10 @@ except (ImportError, RuntimeError): # pragma: nocover from PySide2.QtCore import QObject, QTimer # noqa except ImportError: try: - from PySide.QtCore import QObject, QTimer # noPySide2 + from PySide.QtCore import QObject, QTimer # noqa except ImportError: - raise ImportError('QtScheduler requires either PyQt5, PyQt4, PySide2 or PySide installed') + raise ImportError('QtScheduler requires either PyQt5, PyQt4, PySide2 ' + 'or PySide installed') class QtScheduler(BaseScheduler): |