mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fix flake8-docstrings D200 One-line docstring should fit on one line with quotes
This commit is contained in:
parent
a8043d0259
commit
4dd58afaf6
3 changed files with 5 additions and 15 deletions
|
@ -19,9 +19,7 @@ from core import github_api as github, logger
|
|||
|
||||
|
||||
class CheckVersion(object):
|
||||
"""
|
||||
Version check class meant to run as a thread object with the SB scheduler.
|
||||
"""
|
||||
"""Version checker that runs in a thread with the SB scheduler."""
|
||||
|
||||
def __init__(self):
|
||||
self.install_type = self.find_install_type()
|
||||
|
@ -435,9 +433,7 @@ class SourceUpdateManager(UpdateManager):
|
|||
return
|
||||
|
||||
def update(self):
|
||||
"""
|
||||
Downloads the latest source tarball from github and installs it over the existing version.
|
||||
"""
|
||||
"""Download and install latest source tarball from github."""
|
||||
tar_download_url = 'https://github.com/{org}/{repo}/tarball/{branch}'.format(
|
||||
org=self.github_repo_user, repo=self.github_repo, branch=self.branch)
|
||||
version_path = os.path.join(core.APP_ROOT, u'version.txt')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue