##// END OF EJS Templates
Fixed posting a message without sticker
neko259 -
r1938:42e6fbb6 default
parent child Browse files
Show More
@@ -55,7 +55,10 b' class AttachmentManager(models.Manager):'
55 return attachment
55 return attachment
56
56
57 def get_by_alias(self, name):
57 def get_by_alias(self, name):
58 return AttachmentSticker.objects.get(name=name).attachment
58 try:
59 return AttachmentSticker.objects.get(name=name).attachment
60 except AttachmentSticker.DoesNotExist:
61 return None
59
62
60 def _compare_chunks(self, chunks1, chunks2):
63 def _compare_chunks(self, chunks1, chunks2):
61 """
64 """
General Comments 0
You need to be logged in to leave comments. Login now