Opened 17 years ago
Closed 17 years ago
#7081 closed patch (fixed)
Misnamed Variable in Python Bindings
| Reported by: | Owned by: | Anduin Withers | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | Bindings - Python | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The cursor in getRecorderList() is named "pc" instead of "c". This simple patch fixes it.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.

In case it wasn't clear, the reason for this patch is that without it you get this error:
>>> m = MythTV() >>> m.getRecorderList() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "MythTV.py", line 176, in getRecorderList c.execute('SELECT cardid FROM capturecard') NameError: global name 'c' is not defined