1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-03-06 19:38:02 +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 urllib
try:
import requests2
import requests
use_requests = True
except ImportError:
print "Requests module not found on system. I'll revert so this will work, but you probably should install "