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