eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py

changeset 7836
2f0d208b8137
parent 7785
9978016560ec
child 7923
91e843545d9a
--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py	Sat Nov 21 19:31:16 2020 +0100
+++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py	Sun Nov 22 16:04:59 2020 +0100
@@ -276,7 +276,7 @@
         try:
             with open(self.__fileName, "r", encoding="utf-8") as f:
                 fileData = f.read()
-        except (IOError, OSError):
+        except OSError:
             # silently ignore because it shouldn't happen
             return
         

eric ide

mercurial