Private GIT

Skip to content
Snippets Groups Projects
Commit dcafaa35 authored by echel0n's avatar echel0n
Browse files

Added try/except error catch for importing requests library when using autoProcessTV scripts.

parent 5bc9f7e6
Branches
Tags
No related merge requests found
......@@ -22,7 +22,12 @@ from __future__ import with_statement
import os.path
import sys
try:
import requests
except ImportError:
print ("You need to install python requests library")
sys.exit(1)
# Try importing Python 2 modules using new names
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment