T2 ruff rule

This commit is contained in:
thomas girod
2024-08-06 11:42:10 +02:00
parent 28d6d8ba96
commit 62bb15317c
11 changed files with 33 additions and 35 deletions

View File

@ -21,6 +21,7 @@
# Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
import logging
import math
from functools import partial
@ -424,7 +425,7 @@ class ForumMessageCreateView(CanCreateMixin, CreateView):
)
init["message"] += "\n\n"
except Exception as e:
print(repr(e))
logging.error(e)
return init
def form_valid(self, form):