mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
Merge pull request #11 from cclauss/patch-1
Conditional import of http_client for Python 3
This commit is contained in:
commit
f471f7b217
1 changed files with 4 additions and 1 deletions
5
zeus.py
5
zeus.py
|
|
@ -5,7 +5,10 @@ import time
|
|||
import optparse
|
||||
import subprocess
|
||||
import random
|
||||
import httplib as http_client
|
||||
try:
|
||||
import http.client as http_client # Python 3
|
||||
except ImportError:
|
||||
import httplib as http_client # Python 2
|
||||
|
||||
from var import blackwidow
|
||||
from var.google_search import search
|
||||
|
|
|
|||
Loading…
Reference in a new issue