py2 -> py3

This commit is contained in:
d1str4ught
2026-02-08 23:40:50 +01:00
parent 98d2c1afb9
commit 36602f7ad9
61 changed files with 618 additions and 609 deletions

View File

@@ -21,12 +21,12 @@ import localeInfo
class PopupDialog(ui.ScriptWindow):
def __init__(self):
print "NEW POPUP DIALOG ----------------------------------------------------------------------------"
print("NEW POPUP DIALOG ----------------------------------------------------------------------------")
ui.ScriptWindow.__init__(self)
self.CloseEvent = 0
def __del__(self):
print "---------------------------------------------------------------------------- DELETE POPUP DIALOG "
print("---------------------------------------------------------------------------- DELETE POPUP DIALOG ")
ui.ScriptWindow.__del__(self)
def LoadDialog(self):
@@ -81,7 +81,7 @@ class MainStream(object):
isChrData=0
def __init__(self):
print "NEWMAIN STREAM ----------------------------------------------------------------------------"
print("NEWMAIN STREAM ----------------------------------------------------------------------------")
net.SetHandler(self)
net.SetTCPRecvBufferSize(128*1024)
net.SetTCPSendBufferSize(4096)
@@ -101,7 +101,7 @@ class MainStream(object):
self.newPhaseWindow = 0
def __del__(self):
print "---------------------------------------------------------------------------- DELETE MAIN STREAM "
print("---------------------------------------------------------------------------- DELETE MAIN STREAM ")
def Destroy(self):
if self.curPhaseWindow: