Remove unused options.
This commit is contained in:
parent
e3cc36f028
commit
91fb75567c
1 changed files with 1 additions and 5 deletions
|
@ -28,7 +28,7 @@ NODE_TYPE_INBOX = 3
|
|||
NODE_TYPE_TRASH = 4
|
||||
|
||||
class Mega:
|
||||
def __init__(self, options=None):
|
||||
def __init__(self):
|
||||
self.schema = 'https'
|
||||
self.domain = 'mega.co.nz'
|
||||
self.timeout = 160 # max secs to wait for resp from api requests
|
||||
|
@ -39,10 +39,6 @@ class Mega:
|
|||
self.shared_keys = {}
|
||||
self.requests_session = requests.Session()
|
||||
|
||||
if options is None:
|
||||
options = {}
|
||||
self.options = options
|
||||
|
||||
@tenacity.retry(
|
||||
retry=tenacity.retry_if_exception_type(errors.EAGAIN),
|
||||
wait=tenacity.wait_exponential(multiplier=2, min=2, max=60)
|
||||
|
|
Loading…
Reference in a new issue