updating readme
This commit is contained in:
parent
b682c9f945
commit
a414a6aee6
|
@ -1,10 +1,10 @@
|
|||
# bandcamp-importer
|
||||
|
||||
Auto-generated by poetry-slam.
|
||||
A small tool for extracting zip files downloaded from Bandcamp into my local media root
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
bandcamp_importer --help
|
||||
import-albums --help
|
||||
```
|
||||
|
|
|
@ -52,9 +52,8 @@ def main(
|
|||
Extract album zip files downloaded from Bandcamp into your media root.
|
||||
"""
|
||||
app_state["config_file"] = config_file
|
||||
load_dotenv(stream=io.StringIO(CONFIG_DEFAULTS))
|
||||
print(f"Loading config from {app_state['config_file']}")
|
||||
load_dotenv(app_state["config_file"])
|
||||
load_dotenv(stream=io.StringIO(CONFIG_DEFAULTS))
|
||||
|
||||
app_state['MEDIA_ROOT'] = (media_root or Path(os.environ['MEDIA_ROOT'])).expanduser().resolve()
|
||||
app_state['DOWNLOADS'] = (downloads or Path(os.environ['DOWNLOADS'])).expanduser().resolve()
|
||||
|
|
Loading…
Reference in New Issue
Block a user