From 938540115485949606f26bcc76837f7820312d93 Mon Sep 17 00:00:00 2001 From: Davte Date: Fri, 30 Apr 2021 22:29:26 +0200 Subject: [PATCH] Bug in installation script fixed --- ciclopibot/__init__.py | 2 +- install.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ciclopibot/__init__.py b/ciclopibot/__init__.py index acabc0e..ed03839 100644 --- a/ciclopibot/__init__.py +++ b/ciclopibot/__init__.py @@ -3,7 +3,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __license__ = "GNU General Public License v3.0" -__version__ = "1.2.5" +__version__ = "1.2.6" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/install.sh b/install.sh index 9a5cda0..5dc7d02 100755 --- a/install.sh +++ b/install.sh @@ -18,7 +18,8 @@ python3 -m venv "$venv_name"; # Other systems may require a different path. echo "python_virtual_environment=\"$(pwd)/$venv_name/bin\";" >> "$configuration_file"; echo "python_script=\"$this_script_directory/ciclopibot/bot.py\";" >> "$configuration_file"; -read -r "Enter a valid Telegram bot token " bot_token; +echo "Enter a valid Telegram bot token"; +read bot_token; echo "bot_token = \"$bot_token\"" >> "$passwords_file"; # Run bot