mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Convert to new-style class by inheriting from object
This commit is contained in:
parent
8434fd5419
commit
76a00b2493
5 changed files with 8 additions and 8 deletions
|
@ -11,7 +11,7 @@ from core import logger
|
|||
from itertools import chain
|
||||
|
||||
|
||||
class Section(configobj.Section):
|
||||
class Section(configobj.Section, object):
|
||||
def isenabled(section):
|
||||
# checks if subsection enabled, returns true/false if subsection specified otherwise returns true/false in {}
|
||||
if not section.sections:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue