Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#8660 closed defect (fixed)
MythTV Python Bindings - Config Variable Not Set
Reported by: | Owned by: | Raymond Wagner | |
---|---|---|---|
Priority: | major | Milestone: | 0.24 |
Component: | Bindings - Python | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When calling the following
db = MythDB(SecurityPin?=1234)
You get the following error ..
Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "mythtv/database.py", line 908, in init
self._writeXML(dbconn)
File "mythtv/database.py", line 982, in _writeXML
fp.write(config)
NameError?: global name 'config' is not defined
Attached is a patch to fix the issue.
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | python.patch added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 14 years ago by
Milestone: | unknown → 0.24 |
---|
Note: See
TracTickets for help on using
tickets.
(In [25349]) Fixes an issue with UPNP detection introduced by excess copy/paste in r25147. Fixes #8660. Thanks to Erik Kristensen for the patch.