diff options
author | Al Korgun <alkorgun@gmail.com> | 2012-10-16 23:13:48 +0400 |
---|---|---|
committer | Al Korgun <alkorgun@gmail.com> | 2012-10-16 23:13:48 +0400 |
commit | 2463064775ffac7193828d78b6c7506a30525b08 (patch) | |
tree | 660f0275883d1bd0cf1aaeefdf50dd5557998de5 | |
parent | 61a6fdc2ddbf2b16e62c56c87f877ab726ed32db (diff) |
nothing important
-rw-r--r-- | expansions/alive_keeper/code.py | 2 | ||||
-rw-r--r-- | expansions/basic_control/code.py | 2 | ||||
-rw-r--r-- | expansions/converter/code.py | 2 | ||||
-rw-r--r-- | expansions/help/comacc.ru | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/expansions/alive_keeper/code.py b/expansions/alive_keeper/code.py index ba6dd5f..2343285 100644 --- a/expansions/alive_keeper/code.py +++ b/expansions/alive_keeper/code.py @@ -88,7 +88,7 @@ class expansion_temp(expansion): Name2 = self.conf_alive_keeper.func_name for Thr in iThr.enumerate(): ThrName = Thr._Thread__name - if ThrName.startswith(Name1) or ThrName.startswith(Name2): + if ThrName.startswith((Name1, Name2)): Thr.kill() composeThr(self.alive_keeper, Name1).start() composeThr(self.conf_alive_keeper, Name2).start() diff --git a/expansions/basic_control/code.py b/expansions/basic_control/code.py index de01e6e..1f9d4ae 100644 --- a/expansions/basic_control/code.py +++ b/expansions/basic_control/code.py @@ -25,7 +25,7 @@ class expansion_temp(expansion): if body: ls = body.split() conf = (ls.pop(0)).lower() - if conf.count("@conference.") and conf.count(".") >= 2: + if conf.count("@.") and conf.count(".") >= 2: if not Chats.has_key(conf): confname = dynamic % (conf) if not check_nosimbols(confname): diff --git a/expansions/converter/code.py b/expansions/converter/code.py index c5cfd03..c1de82f 100644 --- a/expansions/converter/code.py +++ b/expansions/converter/code.py @@ -214,7 +214,7 @@ class expansion_temp(expansion): answer = AnsBase[30] elif not ls: data = get_file(self.file).decode("utf-8") - data = get_text(data, '\t\t"%s"\:\s{' % (Desc), '},') + data = get_text(data, '\t\t"%s"\:\s\{' % (Desc), '\},') if data: comp = compile__('\t\t\t"(.+?)"\:.+?,\s+?\#\s(.+?)\n', 16) list = comp.findall(data) diff --git a/expansions/help/comacc.ru b/expansions/help/comacc.ru index 880ee20..39a4533 100644 --- a/expansions/help/comacc.ru +++ b/expansions/help/comacc.ru @@ -1,4 +1,4 @@ бот покажет какой доступ требует указанная команда
комдоступ [команда]
*/комдоступ джойн
-бот сообщит о том, что команда "джойн" тредует доступ 7
\ No newline at end of file +бот сообщит о том, что команда "джойн" требует доступ 7
\ No newline at end of file |