mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue