Skip crontab updates when --data is set

This commit is contained in:
Tim Van Baak 2023-06-23 20:25:35 -07:00
parent ff13c845eb
commit dd35946c9e

View File

@ -82,7 +82,10 @@ def cmd_edit(cmd_args):
return 0
tmp_path.replace(source.source_path / "intake.json")
update_crontab_entries(data_path)
# Assume that --data is for local testing and don't update crontab
if not args.data:
update_crontab_entries(data_path)
break
return 0