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

@ -23,7 +23,7 @@ def dbFilename(filename="nzbtomedia.db", suffix=None):
return core.os.path.join(core.PROGRAM_DIR, filename)
class DBConnection:
class DBConnection(object):
def __init__(self, filename="nzbtomedia.db", suffix=None, row_type=None):
self.filename = filename