Skip to content

Commit

Permalink
utf-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
treethought committed Jun 3, 2017
2 parents e186aa5 + c885dc2 commit a724c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flask_assistant/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def add_item(self, title, key, synonyms=None, description=None, img_url=None):

def include_items(self, *item_objects):
if not isinstance(item_objects, list):
item_objects = [*item_objects]
item_objects = list(item_objects)
self._items.extend(item_objects)

return self
Expand Down
1 change: 1 addition & 0 deletions samples/actions_demo/webhook.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import logging
from flask import Flask
from flask_assistant import Assistant, ask, tell, build_item
Expand Down

0 comments on commit a724c10

Please sign in to comment.