Skip to content

Commit

Permalink
wip agu 2024, small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Dec 6, 2023
1 parent 0532e4a commit 4c8f23a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion msnoise/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,10 @@ def massive_insert_job(jobs):
conn.execute(
Job.__table__.insert(),
jobs)
conn.commit()
try:
conn.commit()
except:
pass


def massive_update_job(session, jobs, flag="D"):
Expand Down
2 changes: 1 addition & 1 deletion msnoise/msnoise_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
import jinja2
import markdown
from flask import Flask, redirect, request, render_template
from flask import Markup
from markupsafe import Markup
from flask import flash
from flask_admin import Admin, BaseView, expose
from flask_admin.actions import action
Expand Down

0 comments on commit 4c8f23a

Please sign in to comment.