zbyna/plugin.video.sosac.ph

View on GitHub

Showing 4 of 215 total issues

Avoid deeply nested control flow statements.
Open

                        if pomSoub.write(item_url):
                            pocetOK += 1
                        else:
                            vysl = vysl + fi + ' Error !!! \n'
                        pomSoub.close()
Severity: Major
Found in resources/lib/sutils.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            for aa in adr:
                                pom1 = os.path.join(pom, aa)
                                _, sou1 = xbmcvfs.listdir(pom1)
                                for s1 in sou1:
                                    if 'strm' in s1:
    Severity: Major
    Found in resources/lib/sutils.py - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if next_check < time.time():
                                  if not notified:
                                      self.showNotification('Subscription', 'Chcecking')
                                      notified = True
                                  util.debug("SOSAC Refreshing " + url)
      Severity: Major
      Found in resources/lib/sutils.py - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                for s in sou:
                                    if 'strm' in s:
                                        s = os.path.join(pom, s.decode('utf8'))
                                        soubory.append(s)
                                        pocetSTRM += 1
        Severity: Major
        Found in resources/lib/sutils.py - About 45 mins to fix
          Severity
          Category
          Status
          Source
          Language