From c312d51e7c5ec34a6f53526fa08203e93ba86965 Mon Sep 17 00:00:00 2001 From: mirro-chan Date: Thu, 31 Jan 2019 15:52:56 +0100 Subject: [PATCH] Update emoji.py --- emoji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emoji.py b/emoji.py index ad16fae..fcd6431 100644 --- a/emoji.py +++ b/emoji.py @@ -46,7 +46,7 @@ def main(): instance_url = None try: instance_url = sys.argv[1] - except KeyError: + except IndexError: print("You need to specify a url.") exit(0) api_url = treat_url(instance_url)