Simplified return

This commit is contained in:
Spitap
2023-03-13 12:09:11 +01:00
parent 52bccf3393
commit 85652320b6

View File

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