Restructure cli

This commit is contained in:
nathom 2021-03-22 14:53:28 -07:00
parent 72a79d0c32
commit b7ace1d8d0
2 changed files with 54 additions and 41 deletions

View file

@ -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