diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-07-14 15:09:26 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-07-14 15:09:26 +0300 |
| commit | 15a3bdebec1ea0f071e581ac8482b56bed13e362 (patch) | |
| tree | cc8ec7f1625d9277f066fcd044c06e701c99d519 /radiodiodibot.py | |
| parent | 927e0bb68c363e56fda065c8b521014563ea5f6a (diff) | |
Fix sys.argv call
Diffstat (limited to 'radiodiodibot.py')
| -rw-r--r-- | radiodiodibot.py | 2 |
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() |
