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
1 changed files with 4 additions and 1 deletions

View File

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