Version
This commit is contained in:
parent
114990e6d4
commit
6922deb989
@ -2,7 +2,7 @@ __author__ = "Davide Testa"
|
||||
__email__ = "davte@libero.it"
|
||||
__credits__ = "Marco Origlia"
|
||||
__license__ = "GNU General Public License v3.0"
|
||||
__version__ = "1.3.2"
|
||||
__version__ = "1.3.3"
|
||||
__maintainer__ = "Davide Testa"
|
||||
__contact__ = "t.me/davte"
|
||||
|
||||
|
@ -1753,9 +1753,13 @@ class Bot(telepot.aio.Bot, Gettable):
|
||||
loop.run_until_complete(cls.check_task())
|
||||
except KeyboardInterrupt:
|
||||
logging.info(
|
||||
'\n\t\tYour script received a KeyboardInterrupt signal, "
|
||||
"your bot{} being stopped.'.format(
|
||||
's are' if len(cls.instances) > 1 else ' is'
|
||||
(
|
||||
"\n\t\tYour script received a KeyboardInterrupt signal, "
|
||||
"your bot{} being stopped."
|
||||
).format(
|
||||
's are'
|
||||
if len(cls.instances) > 1
|
||||
else ' is'
|
||||
)
|
||||
)
|
||||
|
||||
@ -1851,8 +1855,10 @@ class Bot(telepot.aio.Bot, Gettable):
|
||||
)
|
||||
except KeyboardInterrupt:
|
||||
logging.info(
|
||||
'\n\t\tYour script received a KeyboardInterrupt signal, "
|
||||
"your bot{} being stopped.'.format(
|
||||
(
|
||||
"\n\t\tYour script received a KeyboardInterrupt signal, "
|
||||
"your bot{} being stopped."
|
||||
).format(
|
||||
's are' if len(cls.instances) > 1 else ' is'
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user