Add ability for moderators to change linked accounts

This commit is contained in:
rubenwardy
2020-07-10 22:59:41 +01:00
parent b9e1be57e4
commit c490df7f50
4 changed files with 20 additions and 8 deletions

View File

@@ -218,3 +218,9 @@ def isYes(val):
def isNo(val):
return val and not isYes(val)
def nonEmptyOrNone(str):
if str is None or str == "":
return None
return str