Update emoji.py
This commit is contained in:
parent
bb057c217c
commit
c312d51e7c
2
emoji.py
2
emoji.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user