mirror of
https://github.com/jo1gi/grawlix.git
synced 2026-04-09 10:11:26 -06:00
Fix library argument retrieval
This commit is contained in:
parent
465abbecad
commit
f7009f5dd0
@ -34,7 +34,8 @@ def get_login(source: Source, config: Config, options) -> Tuple[str, str, Option
|
||||
|
||||
username = get_or_ask("username", False, source_config, options)
|
||||
password = get_or_ask("password", True, source_config, options)
|
||||
library = None # TODO
|
||||
if "library" in source._login_credentials:
|
||||
library = get_or_ask("library", False, source_config, options)
|
||||
# if source_name in config.sources:
|
||||
# username = config.sources[source_name].username or options.username
|
||||
# password = config.sources[source_name].password or options.password
|
||||
|
||||
Loading…
Reference in New Issue
Block a user