quick frontend (chat): removed hack not needed anymore now that Pyjamas is not used anymore

This commit is contained in:
Goffi 2019-11-08 11:56:21 +01:00
commit adf7621495

View file

@ -41,15 +41,6 @@ ROOM_USER_MOVED = (ROOM_USER_JOINED, ROOM_USER_LEFT)
# from datetime import datetime
try:
# FIXME: to be removed when an acceptable solution is here
str("") # XXX: unicode doesn't exist in pyjamas
except (
TypeError,
AttributeError,
): # Error raised is not the same depending on pyjsbuild options
str = str
# FIXME: day_format need to be settable (i18n)