Small changes

- Fix config to load source configuration correctly
- Add a newline in readme to be more readable
This commit is contained in:
Joakim Holm 2023-05-05 12:04:59 +02:00
parent 5bd8beb6e8
commit c2545b871f
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
![GitHub top language](https://img.shields.io/github/languages/top/jo1gi/grawlix)
![License](https://img.shields.io/github/license/jo1gi/grawlix)
[![Donate using Ko-Fi](https://img.shields.io/badge/donate-kofi-00b9fe?logo=ko-fi&logoColor=00b9fe)](https://ko-fi.com/jo1gi)
CLI ebook downloader
## Supported services

View File

@ -33,7 +33,7 @@ def load_config() -> Config:
else:
config_dict = {}
sources = {}
if "source" in config_dict:
if "sources" in config_dict:
for key, values in config_dict["sources"].items():
sources[key] = SourceConfig (
username = values.get("username"),