Skip to content

Commit

Permalink
[OscamInfo] Change n/a or n/A to N/A
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev0-BH committed Nov 27, 2021
1 parent 0587a54 commit 86225e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/python/Screens/OScamInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def readXML(self, typ):
# if data.attrib.has_key("version"):
# self.version = data.attrib["version"]
# else:
# self.version = "n/a"
# self.version = "N/A"
# return self.version
status = data.find("status")
clients = status.findall("client")
Expand All @@ -239,7 +239,7 @@ def readXML(self, typ):
if "ecmtime" in cl.find("request").attrib:
ecmtime = cl.find("request").attrib["ecmtime"]
if ecmtime == "0" or ecmtime == "":
ecmtime = _("n/a")
ecmtime = _("N/A")
else:
ecmtime = str(float(ecmtime) / 1000)[:5]
else:
Expand All @@ -251,7 +251,7 @@ def readXML(self, typ):
else:
srvname_short = srvname
else:
srvname_short = _("n/A")
srvname_short = _("N/A")
login = cl.find("times").attrib["login"]
online = cl.find("times").attrib["online"]
if proto.lower() == "dvbapi":
Expand Down Expand Up @@ -311,10 +311,10 @@ def getVersion(self):
if "version" in data.attrib:
self.version = data.attrib["version"]
else:
self.version = _("n/a")
self.version = _("N/A")
return self.version
else:
self.version = _("n/a")
self.version = _("N/A")
return self.version

def getTotalCards(self, reader):
Expand Down

0 comments on commit 86225e9

Please sign in to comment.