Update comments.py

This commit is contained in:
Chris Hutchison 2018-04-22 13:22:08 -04:00 committed by GitHub
parent ce1a1edd3b
commit cc485a3b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,6 +261,9 @@ class API(object):
else:
title = data['title']
if title is None:
title = "New comment"
thread = self.threads.new(uri, title)
self.signal("comments.new:new-thread", thread)
else: