mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 15:07:35 +01:00
Fix missing space before "and" in package list (#357)
This commit is contained in:
parent
1c63bf0beb
commit
56539bb369
@ -190,7 +190,7 @@ def _package_list(packages: List[str]):
|
|||||||
packages[len(packages) - 1] = "and " + packages[len(packages) - 1]
|
packages[len(packages) - 1] = "and " + packages[len(packages) - 1]
|
||||||
packages_list = ", ".join(packages)
|
packages_list = ", ".join(packages)
|
||||||
else:
|
else:
|
||||||
packages_list = "and ".join(packages)
|
packages_list = " and ".join(packages)
|
||||||
return packages_list
|
return packages_list
|
||||||
|
|
||||||
@action("Send WIP package notification")
|
@action("Send WIP package notification")
|
||||||
@ -287,4 +287,4 @@ def delete_inactive_users():
|
|||||||
users = User.query.filter(User.is_active==False, User.packages==None, User.forum_topics==None, User.rank==UserRank.NOT_JOINED).all()
|
users = User.query.filter(User.is_active==False, User.packages==None, User.forum_topics==None, User.rank==UserRank.NOT_JOINED).all()
|
||||||
for user in users:
|
for user in users:
|
||||||
db.session.delete(user)
|
db.session.delete(user)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user