eric6/Cooperation/ChatWidget.py

changeset 7836
2f0d208b8137
parent 7785
9978016560ec
child 7923
91e843545d9a
--- a/eric6/Cooperation/ChatWidget.py	Sat Nov 21 19:31:16 2020 +0100
+++ b/eric6/Cooperation/ChatWidget.py	Sun Nov 22 16:04:59 2020 +0100
@@ -575,7 +575,7 @@
                 try:
                     with open(fname, "w", encoding="utf-8") as f:
                         f.write(txt)
-                except IOError as err:
+                except OSError as err:
                     E5MessageBox.critical(
                         self,
                         self.tr("Error saving Chat"),

eric ide

mercurial