Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def process(self, text):
if len(nums) < 2:
mod_text = words_to_nums(text)
nums += re.findall('\d+', mod_text)
print nums
print (nums)
nums = map(int, nums)
if 'add' in words:
speak_engine.say("It is " + str(sum(nums)))
Expand Down
2 changes: 1 addition & 1 deletion src/wikipedia/wikipedia.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import requests
from bs4 import BeautifulSoup
import BeautifulSoup

from .exceptions import *
from .util import cache, stdout_encode
Expand Down