Fix error when creating new applications (introduced by translation fix)
This commit is contained in:
parent
61fe84a780
commit
298cefcb45
@ -403,7 +403,7 @@ class Application(models.Model, SlideMixin):
|
|||||||
self.log = ""
|
self.log = ""
|
||||||
self.log += u"%s | %s" % (datetime.now().strftime("%d.%m.%Y %H:%M:%S"), _propper_unicode(text))
|
self.log += u"%s | %s" % (datetime.now().strftime("%d.%m.%Y %H:%M:%S"), _propper_unicode(text))
|
||||||
if user is not None:
|
if user is not None:
|
||||||
self.log += u" ("+_("by")+" %s)" % (_propper_unicode(user.username))
|
self.log += u" (%s %s)" % (_("by"), _propper_unicode(user.username))
|
||||||
self.log += "\n"
|
self.log += "\n"
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user