Convert to new-style class by inheriting from object

This commit is contained in:
Labrys 2016-06-04 23:01:15 -04:00
commit 76a00b2493
5 changed files with 8 additions and 8 deletions

View file

@ -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: