Fix error when creating new applications (introduced by translation fix)

This commit is contained in:
Andy Kittner 2012-05-15 20:10:54 +02:00
parent 61fe84a780
commit 298cefcb45

View File

@ -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()