diff options
author | Jinwei Zhao <[email protected]> | 2017-01-31 18:58:52 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-31 18:58:52 +0800 |
commit | df17a8695cba8f643593664f383912951e234540 (patch) | |
tree | 5624ceb012ed7f7a3f65041868d4df90e455a14e /async_bot.py | |
parent | 4ff09e48ea275d30040cf99e763936977f983c67 (diff) | |
download | COMM2TG-df17a8695cba8f643593664f383912951e234540.tar.gz |
remove urllib.parse.quote
Diffstat (limited to 'async_bot.py')
-rwxr-xr-x | async_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/async_bot.py b/async_bot.py index 99c4560..5f33f7e 100755 --- a/async_bot.py +++ b/async_bot.py | |||
@@ -135,7 +135,7 @@ def send_message(bot, message, monitor=False): | |||
135 | if monitor is True: | 135 | if monitor is True: |
136 | bot.sendMessage(chat_id="@voamonitor", text=message) | 136 | bot.sendMessage(chat_id="@voamonitor", text=message) |
137 | else: | 137 | else: |
138 | bot.sendMessage(chat_id=CHANNEL_NAME, text=urllib.parse.quote(message)) | 138 | bot.sendMessage(chat_id=CHANNEL_NAME, text=message) |
139 | logger.info(get_time() + ": sendMsg " + message) | 139 | logger.info(get_time() + ": sendMsg " + message) |
140 | break | 140 | break |
141 | except telegram.TelegramError: | 141 | except telegram.TelegramError: |