Skip to content

Commit

Permalink
Revert "[OscamInfo] Fix spacing for protocol"
Browse files Browse the repository at this point in the history
This reverts commit 52c5ac5.
  • Loading branch information
Ev0-BH committed Nov 27, 2021
1 parent 52c5ac5 commit cd6b3c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/python/Screens/OScamInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def readXML(self, typ):
if ecmtime == "0" or ecmtime == "":
ecmtime = _("N/A")
else:
ecmtime = str(float(ecmtime) // 1000)[:5]
ecmtime = str(float(ecmtime) / 1000)[:5]
else:
ecmtime = "not available"
srvname = cl.find("request").text
Expand Down Expand Up @@ -745,12 +745,12 @@ def buildListEntry(self, listentry, heading=False):
res = [""]
x = 0
if not HDSKIN:
self.fieldsize = [100, 160, 100, 150, 80, 130]
self.startPos = [10, 110, 270, 370, 510, 600]
self.fieldsize = [100, 130, 100, 150, 80, 130]
self.startPos = [10, 110, 240, 340, 490, 570]
useFont = 3
else:
self.fieldsize = [150 * f, 225 * f, 150 * f, 300 * f, 150 * f, 200 * f]
self.startPos = [50 * f, 200 * f, 424 * f, 575 * f, 875 * f, 1025 * f]
self.fieldsize = [150 * f, 150 * f, 150 * f, 300 * f, 150 * f, 200 * f]
self.startPos = [50 * f, 200 * f, 350 * f, 500 * f, 800 * f, 950 * f]
useFont = 2

ypos = 2
Expand Down Expand Up @@ -1133,8 +1133,8 @@ def showData(self):
rcs = j.attrib["rcs"]
num = j.text
if rcs == "found":
avg_time = str(float(avgtime) // 1000)[:5]
last_time = str(float(lasttime) // 1000)[:5]
avg_time = str(float(avgtime) / 1000)[:5]
last_time = str(float(lasttime) / 1000)[:5]
if "lastrequest" in j.attrib:
lastreq = j.attrib["lastrequest"]
try:
Expand Down

0 comments on commit cd6b3c9

Please sign in to comment.