Remove unused options.

This commit is contained in:
Ethan Dalool 2020-11-12 15:04:22 -08:00
parent e3cc36f028
commit 91fb75567c

View file

@ -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)