mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-18 17:25:22 -04:00
Restructure cli
This commit is contained in:
parent
72a79d0c32
commit
b7ace1d8d0
2 changed files with 54 additions and 41 deletions
|
@ -98,7 +98,7 @@ class Config:
|
|||
def update_from_cli(self, **kwargs):
|
||||
for category in (self.downloads, self.metadata, self.filters):
|
||||
for key in category.keys():
|
||||
if kwargs[key] is None:
|
||||
if kwargs.get(key) is None:
|
||||
continue
|
||||
|
||||
# For debugging's sake
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue