Simplified return
This commit is contained in:
@@ -406,10 +406,8 @@ def update_config(path, apply_update=True):
|
|||||||
return dest
|
return dest
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
if update:
|
|
||||||
# Simply check if current config file is outdated
|
# Simply check if current config file is outdated
|
||||||
return True
|
return update
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def gen_config(dest, interactive=False):
|
def gen_config(dest, interactive=False):
|
||||||
|
|||||||
Reference in New Issue
Block a user