Skip to content

Commit

Permalink
[CCcamInfo] pep noise
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Oct 7, 2023
1 parent 7553fbb commit 2a427d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/python/Screens/CCcamInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,12 +735,12 @@ def showCCcamProviders(self, html):
infoList = []
lines = html.split("\n")

for l in lines:
if l.__contains__('|'):
for x in lines:
if x.__contains__('|'):
if firstLine:
firstLine = False
else:
list = l.split('|')
list = x.split('|')
if len(list) > 5:
caid = list[1].replace(" ", "")
if caid != "":
Expand Down Expand Up @@ -1043,10 +1043,10 @@ def readSharesCallback(self, html):
totalcards += 1
# maxdown = list[6]
# while maxdown.startswith(" "):
# maxdown = maxdown[1:]
# down = maxdown
# maxdown = maxdown[1:]
# down = maxdown
# if int(down)>0:
# resharecards +=1
# resharecards +=1

self.instance.setTitle("%s (%s %d) %s %s" % (_("Share View"), _("Total cards:"), totalcards, _("Hops:"), ulevel))
self["title"].setText("%s (%s %d) %s %s" % (_("Share View"), _("Total cards:"), totalcards, _("Hops:"), ulevel))
Expand Down

0 comments on commit 2a427d4

Please sign in to comment.