Ticket #7081: python.diff

File python.diff, 461 bytes (added by doug@…, 10 years ago)
  • bindings/python/MythTV/MythTV.py

     
    172172                Returns a list of recorders, or an empty list if none.
    173173                """
    174174                recorders = []
    175                 pc = self.db.cursor()
     175                c = self.db.cursor()
    176176                c.execute('SELECT cardid FROM capturecard')
    177177                row = c.fetchone()
    178178                while row is not None: