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:
parent
127b109011
commit
62277551b2
1 changed files with 1 additions and 1 deletions
|
@ -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 "
|
||||||
|
|
Loading…
Add table
Reference in a new issue