mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-08-09 20:14:01 +00:00
fixes from linting changes
This commit is contained in:
@@ -76,7 +76,7 @@ def send():
|
||||
for item in items:
|
||||
name = translate_from_locale(f'Objects_{item[0]}_name')
|
||||
if name == f'Objects_{item[0]}_name':
|
||||
name = (item[2] if (item[2] != "None" and item[2] != "" and item[2] not None) else item[1])
|
||||
name = (item[2] if (item[2] != "None" and item[2] != "" and item[2] is not None) else item[1])
|
||||
form.attachment.choices.append(
|
||||
(
|
||||
item[0],
|
||||
@@ -84,6 +84,4 @@ def send():
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
return render_template('mail/send.html.j2', form=form)
|
||||
|
||||
|
Reference in New Issue
Block a user