Skip to content

Commit

Permalink
Fixing bug in the implementation of issue BU-ISCIII#224
Browse files Browse the repository at this point in the history
  • Loading branch information
luissian committed Sep 3, 2023
1 parent a3d83bd commit 89924d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wetlab/utils/crontab_update_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def search_update_new_runs(request_reason):
conn,
wetlab.utils.crontab_process.get_samba_shared_folder(),
new_run,
"created_time",
"create_time",
)
time_to_check = datetime.datetime.utcfromtimestamp(
f_created_date
Expand Down
4 changes: 2 additions & 2 deletions wetlab/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,9 @@ def search_run(request):
if wetlab.models.RunProcess.objects.filter(pk__in=run_list).exists():
runs_found = wetlab.models.RunProcess.objects.filter(pk__in=run_list)
else:
error_message = [
error_message = (
"There are not run where " + request.user.username + " was involved"
]
)
return render(
request,
"wetlab/search_run.html",
Expand Down

0 comments on commit 89924d8

Please sign in to comment.