Private GIT

Skip to content
Snippets Groups Projects
Commit 3b1e6a98 authored by miigotu's avatar miigotu
Browse files

Merge pull request #3116 from labrys/pep8-download_station_client

Update download_station_client.py for PEPs 8 and 263
parents 5a9e1f4e e09c239a
No related branches found
No related tags found
No related merge requests found
# coding=utf-8
# Authors:
# Pedro Jose Pereira Vieito <pvieito@gmail.com> (Twitter: @pvieito)
#
......@@ -23,6 +24,7 @@
import sickbeard
from sickbeard.clients.generic import GenericClient
class DownloadStationAPI(GenericClient):
def __init__(self, host=None, username=None, password=None):
......@@ -47,7 +49,8 @@ class DownloadStationAPI(GenericClient):
data = {
'api': 'SYNO.DownloadStation.Task',
'version':'1', 'method':'create',
'version': '1',
'method': 'create',
'session': 'DownloadStation',
'_sid': self.auth,
'uri': result.url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment