mirror of
https://github.com/jo1gi/grawlix.git
synced 2025-12-16 04:09:10 +00:00
Small changes
- Fix config to load source configuration correctly - Add a newline in readme to be more readable
This commit is contained in:
parent
5bd8beb6e8
commit
c2545b871f
@ -3,6 +3,7 @@
|
|||||||

|

|
||||||

|

|
||||||
[](https://ko-fi.com/jo1gi)
|
[](https://ko-fi.com/jo1gi)
|
||||||
|
|
||||||
CLI ebook downloader
|
CLI ebook downloader
|
||||||
|
|
||||||
## Supported services
|
## Supported services
|
||||||
|
|||||||
@ -33,7 +33,7 @@ def load_config() -> Config:
|
|||||||
else:
|
else:
|
||||||
config_dict = {}
|
config_dict = {}
|
||||||
sources = {}
|
sources = {}
|
||||||
if "source" in config_dict:
|
if "sources" in config_dict:
|
||||||
for key, values in config_dict["sources"].items():
|
for key, values in config_dict["sources"].items():
|
||||||
sources[key] = SourceConfig (
|
sources[key] = SourceConfig (
|
||||||
username = values.get("username"),
|
username = values.get("username"),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user