permit entry without title

This commit is contained in:
phil 2015-04-27 20:40:01 +00:00
parent cbb4b76cd4
commit 3d48874f99

View file

@ -90,7 +90,7 @@ def update_static_html():
def submit_entry(entry_id=None, title=None, content=None, date=None):
title = title.strip()
content = content.strip()
if not all((title, content, date)):
if not all((content, date)):
return bobo.redirect(BASE_URL)
try:
date = datetime.datetime.strptime(date, DATE_FORMAT_FULL)