src/eric7/Network/IRC/IrcUtilities.py

branch
eric7
changeset 10928
46651e194fbe
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
--- a/src/eric7/Network/IRC/IrcUtilities.py	Thu Sep 26 09:48:49 2024 +0200
+++ b/src/eric7/Network/IRC/IrcUtilities.py	Thu Sep 26 15:49:36 2024 +0200
@@ -12,7 +12,7 @@
 from PyQt6.QtCore import QCoreApplication, QTime
 from PyQt6.QtWidgets import QApplication
 
-from eric7 import Preferences, Utilities
+from eric7 import EricUtilities, Preferences
 
 __UrlRe = re.compile(
     r"""((?:http|ftp|https):\/\/[\w\-_]+(?:\.[\w\-_]+)+"""
@@ -60,7 +60,7 @@
     @rtype str
     """
     # step 1: cleanup message
-    msg = Utilities.html_encode(msg)
+    msg = EricUtilities.html_encode(msg)
 
     # step 2: replace IRC formatting characters
     openTags = []

eric ide

mercurial