Skip to content
This repository has been archived by the owner on Mar 23, 2018. It is now read-only.

Commit

Permalink
중국어 문장부호 관련 버그 수정(#7)
Browse files Browse the repository at this point in the history
(.*) 는 중국어의 것이 아닌 영어의 것으로 해 줘야 하며,
그 앞에 느낌표는 중국어의 것으로 해도 작동에 지장이 없음.
  • Loading branch information
sukso96100 committed Apr 6, 2017
1 parent 4eb4b87 commit 0e5477b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/dust.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@respond_to('공기 (.*)')
@listen_to('!공기 (.*)')
@respond_to('空气 (.*)')
@listen_to('!空气 .*)')
@listen_to('!空气 (.*)')
def dust(message, address):

r = requests.get('https://maps.googleapis.com/maps/api/geocode/json', {'address': address})
Expand Down
2 changes: 1 addition & 1 deletion plugins/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@respond_to('날씨 (.*)')
@listen_to('!날씨 (.*)')
@respond_to('天气 (.*)')
@listen_to('!天气 (.*)')
@listen_to('天气 (.*)')
def weather(message, address):

r = requests.get('https://maps.googleapis.com/maps/api/geocode/json', {'address': address})
Expand Down

0 comments on commit 0e5477b

Please sign in to comment.