mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-16 16:14:49 -04:00
parent
429e63a111
commit
5cd13ae4dd
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ def cli(ctx, **kwargs):
|
|||
logger.setLevel("DEBUG")
|
||||
logger.debug("Starting debug log")
|
||||
|
||||
if ctx.invoked_subcommand not in {None, "lastfm", "search", "disover"}:
|
||||
if ctx.invoked_subcommand not in {None, "lastfm", "search", "disover", "config"}:
|
||||
return
|
||||
|
||||
config = Config()
|
||||
|
@ -284,6 +284,7 @@ def lastfm(ctx, source, url):
|
|||
@click.pass_context
|
||||
def config(ctx, **kwargs):
|
||||
"""Manage the streamrip configuration file."""
|
||||
global config
|
||||
if kwargs["reset"]:
|
||||
config.reset()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue