eric6/WebBrowser/GreaseMonkey/GreaseMonkeyDownloader.py

changeset 7268
a28338eaf694
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyDownloader.py	Wed Sep 25 18:37:35 2019 +0200
+++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyDownloader.py	Wed Sep 25 18:48:22 2019 +0200
@@ -126,8 +126,10 @@
             self.__fileName = settings.value(
                 self.__reply.request().url().toString())
             if not self.__fileName:
-                name = QFileInfo(self.__reply.request().url().path())\
+                name = (
+                    QFileInfo(self.__reply.request().url().path())
                     .fileName()
+                )
                 if not name:
                     name = "require.js"
                 elif not name.endswith(".js"):

eric ide

mercurial