@@ -7,7 +7,7 @@ __author__ = "Davide Testa"
__email__ = "davte@libero.it"
__credits__ = "Marco Origlia"
__license__ = "GNU General Public License v3.0"
-__version__ = "1.4.1"
+__version__ = "1.4.2"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"
@@ -1892,6 +1892,8 @@ class Bot(telepot.aio.Bot, Gettable):
"Choose an addressee."
"\n\t\t"
)
+ if len(user_input) == 0:
+ return 65 # Let user select a different bot
except KeyboardInterrupt:
logging.error("Keyboard interrupt.")
return 0 # Stop running