diff -r d595f6f9cbf8 -r 4ef3b78ebb4e eric6/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py --- a/eric6/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Sat Sep 21 18:30:02 2019 +0200 +++ b/eric6/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Sat Sep 21 20:30:56 2019 +0200 @@ -112,8 +112,10 @@ It is called when the process finished or the user pressed the button. """ - if self.process is not None and \ - self.process.state() != QProcess.NotRunning: + if ( + self.process is not None and + self.process.state() != QProcess.NotRunning + ): self.process.terminate() QTimer.singleShot(2000, self.process.kill) self.process.waitForFinished(3000)