zulip_trello.py: Print error if requests isn't installed.
This commit is contained in:
parent
71a15bd89e
commit
6e443b6d23
|
@ -9,7 +9,13 @@ from __future__ import print_function
|
|||
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
try:
|
||||
import requests
|
||||
except ImportError:
|
||||
print("Error: Please install the python requests library before running this script:")
|
||||
print("http://docs.python-requests.org/en/master/user/install/")
|
||||
sys.exit(1)
|
||||
|
||||
def get_model_id(options):
|
||||
"""get_model_id
|
||||
|
|
Loading…
Reference in a new issue