Skip to content

Commit a02aa79

Browse files
authored
Fixed strange way to import check
1 parent 2badd01 commit a02aa79

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

collector.py

+5-9
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@
99
import sys
1010
import argparse
1111
from plugins.banner import *
12-
try:
13-
import requests
14-
import warnings
15-
import urllib.parse
16-
import socket
17-
import multiprocessing
18-
except ModuleNotFoundError:
19-
print("Importing Some required modules.")
20-
os.system("pip install -r requirements.txt")
12+
import requests
13+
import warnings
14+
import urllib.parse
15+
import socket
16+
import multiprocessing
2117

2218
warnings.filterwarnings("ignore")
2319

0 commit comments

Comments
 (0)