mirror of
https://github.com/jo1gi/grawlix.git
synced 2025-12-16 04:09:10 +00:00
Fix authentication when not supporting cookies
This commit is contained in:
parent
c53ec27dc8
commit
d46a4fe88b
@ -76,7 +76,7 @@ async def authenticate(source: Source, config: Config, options):
|
||||
username, password, library = get_login(source, config, options)
|
||||
await source.login(username, password, library=library)
|
||||
source.authenticated = True
|
||||
if source.supports_cookies:
|
||||
elif source.supports_cookies:
|
||||
cookie_file = get_cookie_file(options)
|
||||
if cookie_file:
|
||||
source.load_cookies(cookie_file)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user