fixed issues #127

This commit is contained in:
MH_ProDev 2022-02-27 18:46:11 +03:30 committed by GitHub
parent b213df19d7
commit fd4b9e2568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -747,7 +747,9 @@ if __name__ == '__main__':
event = Event()
if method in Methods.LAYER7_METHODS:
url = URL(argv[2].strip())
urlraw = argv[2].strip()
if not urlraw.startswith("http://"): urlraw = "http://" + urlraw
url = URL(urlraw)
threads = int(argv[4])
rpc = int(argv[6])
timer = int(argv[7])