src/eric7/Toolbox/SingleApplication.py

branch
eric7
changeset 10928
46651e194fbe
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10927:ce599998be7d 10928:46651e194fbe
10 import json 10 import json
11 11
12 from PyQt6.QtCore import QByteArray 12 from PyQt6.QtCore import QByteArray
13 from PyQt6.QtNetwork import QLocalServer, QLocalSocket 13 from PyQt6.QtNetwork import QLocalServer, QLocalSocket
14 14
15 from eric7 import Utilities 15 from eric7 import EricUtilities
16 from eric7.EricWidgets import EricMessageBox 16 from eric7.EricWidgets import EricMessageBox
17 17
18 18
19 class SingleApplicationServer(QLocalServer): 19 class SingleApplicationServer(QLocalServer):
20 """ 20 """
76 """ application client could not be decoded.""" 76 """ application client could not be decoded."""
77 """ Please report this issue with the received""" 77 """ Please report this issue with the received"""
78 """ data to the eric bugs email address.</p>""" 78 """ data to the eric bugs email address.</p>"""
79 """<p>Error: {0}</p>""" 79 """<p>Error: {0}</p>"""
80 """<p>Data:<br/>{1}</p>""" 80 """<p>Data:<br/>{1}</p>"""
81 ).format(str(err), Utilities.html_encode(line.strip())), 81 ).format(str(err), EricUtilities.html_encode(line.strip())),
82 EricMessageBox.Ok, 82 EricMessageBox.Ok,
83 ) 83 )
84 return 84 return
85 85
86 command = commandDict["command"] 86 command = commandDict["command"]

eric ide

mercurial