mirror of
https://github.com/simple-login/app.git
synced 2024-09-27 20:31:30 +02:00
shouldn't count processed batch import (#1268)
This commit is contained in:
parent
192d03fd68
commit
6595d34276
@ -25,7 +25,9 @@ def batch_import_route():
|
||||
)
|
||||
return redirect(url_for("dashboard.index"))
|
||||
|
||||
batch_imports = BatchImport.filter_by(user_id=current_user.id).all()
|
||||
batch_imports = BatchImport.filter_by(
|
||||
user_id=current_user.id, processed=False
|
||||
).all()
|
||||
|
||||
if request.method == "POST":
|
||||
if len(batch_imports) > 10:
|
||||
|
Loading…
Reference in New Issue
Block a user