support setting folderdepth in client.jsonc
This commit is contained in:
parent
376dd794bc
commit
8790f223fc
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Client(object):
|
||||||
self.api.DEBUG = DEBUG
|
self.api.DEBUG = DEBUG
|
||||||
if self.signin():
|
if self.signin():
|
||||||
self.profile = "%sp.webm" % max(self.api.site['video']['resolutions'])
|
self.profile = "%sp.webm" % max(self.api.site['video']['resolutions'])
|
||||||
self.folderdepth = self.api.site['site'].get('folderdepth', 3)
|
self.folderdepth = self._config.get('folderdepth', self.api.site['site'].get('folderdepth', 3))
|
||||||
|
|
||||||
def signin(self):
|
def signin(self):
|
||||||
if 'username' in self._config:
|
if 'username' in self._config:
|
||||||
|
|
Loading…
Reference in a new issue