Skip to content

Commit

Permalink
code review of Davide Principi
Browse files Browse the repository at this point in the history
Co-authored-by: Davide Principi <[email protected]>
  • Loading branch information
stephdl and DavidePrincipi authored Sep 26, 2024
1 parent 2180a71 commit d719ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/actions/delete-task/20delete
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ task_id = data["task_id"]
localuser = data["localuser"]

# remove the task cron/env/password/lock files
for file in glob.iglob("*/"+localuser+'_'+task_id+".*"):
for file in list(glob.iglob("imapsync/"+localuser+'_'+task_id+".*")) + list(glob.iglob("cron/"+localuser+'_'+task_id+".*")):
os.remove(file)

0 comments on commit d719ed6

Please sign in to comment.