Update emoji.py

This commit is contained in:
mirro-chan 2019-01-31 15:52:56 +01:00 committed by GitHub
parent bb057c217c
commit c312d51e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ def main():
instance_url = None instance_url = None
try: try:
instance_url = sys.argv[1] instance_url = sys.argv[1]
except KeyError: except IndexError:
print("You need to specify a url.") print("You need to specify a url.")
exit(0) exit(0)
api_url = treat_url(instance_url) api_url = treat_url(instance_url)