aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--radiodiodibot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/radiodiodibot.py b/radiodiodibot.py
index 00d382a..99a0ef5 100644
--- a/radiodiodibot.py
+++ b/radiodiodibot.py
@@ -4,7 +4,7 @@ import sys
def get_token_from_argv():
try:
- return argv[1]
+ return sys.argv[1]
except:
print("Please provide the telegram bot token as a command line argument.")
sys.exit()