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
|
@ -17,7 +17,7 @@ import core
|
|||
from core import logger
|
||||
|
||||
|
||||
class CheckVersion():
|
||||
class CheckVersion(object):
|
||||
"""
|
||||
Version check class meant to run as a thread object with the SB scheduler.
|
||||
"""
|
||||
|
@ -82,7 +82,7 @@ class CheckVersion():
|
|||
return self.updater.update()
|
||||
|
||||
|
||||
class UpdateManager():
|
||||
class UpdateManager(object):
|
||||
def get_github_repo_user(self):
|
||||
return core.GIT_USER
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue