diff options
author | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-05-03 17:35:02 -0500 |
---|---|---|
committer | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-05-03 17:35:02 -0500 |
commit | b421597c387f9ddd80f4ada047af5676f0291f63 (patch) | |
tree | 15f7077832d19baa3eab2de71beed63be19bcb10 /server.py | |
parent | 8cd30321f2671e7dd21f3db3e1c151ffbfc9137d (diff) | |
download | bbj-b421597c387f9ddd80f4ada047af5676f0291f63.tar.gz |
remove old hack for string input
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -299,8 +299,7 @@ class API(object): non-nil, will include a "messages" key with the object, whose sole content is the original message (post_id 0). """ - op = isinstance(args, dict) and args.get("include_op") - threads = db.thread_index(database, include_op=op) + threads = db.thread_index(database, include_op=args.get("include_op")) cherrypy.thread_data.usermap = create_usermap(database, threads, True) return threads thread_index.doctype = "Threads & Messages" |