1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-03-09 05:13:35 +00:00

FIX:(#1918) Incorrect requests import within try/except always default to exception values

This commit is contained in:
evilhero 2018-04-12 10:25:42 -04:00
parent 127b109011
commit 62277551b2

View file

@ -4,7 +4,7 @@ import ConfigParser
import urllib2 import urllib2
import urllib import urllib
try: try:
import requests2 import requests
use_requests = True use_requests = True
except ImportError: except ImportError:
print "Requests module not found on system. I'll revert so this will work, but you probably should install " print "Requests module not found on system. I'll revert so this will work, but you probably should install "