diff options
author | diSabler <dissy@ya.ru> | 2017-07-24 15:45:06 +0300 |
---|---|---|
committer | diSabler <dissy@ya.ru> | 2017-07-24 15:45:06 +0300 |
commit | c2798fb8dd5b694d71a366f8a2246d4bef0c8fcf (patch) | |
tree | 593c86ec7c90c0753692454ea72b3f45eecd9851 | |
parent | f6c68a30ca57df0ecc25b5189e90f26980030e70 (diff) |
fix: wrong threads mark
-rw-r--r-- | kernel.py | 2 | ||||
-rw-r--r-- | plugins/service.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -697,7 +697,7 @@ def check_updates(): pass
#pprint('Unknown message', 'red')
#pprint(json.dumps(msg_in, indent=2, separators=(',', ': ')), 'magenta')
- return True
+ return True
def get_tag(body, tag):
T = re.findall('<%s.*?>(.*?)</%s>' % (tag, tag), body, re.S)
diff --git a/plugins/service.py b/plugins/service.py index f42a0fb..7a002ab 100644 --- a/plugins/service.py +++ b/plugins/service.py @@ -27,7 +27,7 @@ def raw_bot_restart(raw_in, msg, status): BOT_EXIT_TYPE = status MAX_TIMEOUT = 0.001 send_msg(raw_in, msg) - check_updates() + #check_updates() def cmd_update(raw_in): raw_bot_restart(raw_in, 'Let\'s update!', 'update') |