mirror of https://github.com/MatrixTM/MHDDoS.git
Merge pull request #273 from MHProDev/revert-270-main
Revert "wrap all code into function"
This commit is contained in:
commit
afa3889375
6
start.py
6
start.py
|
|
@ -1294,7 +1294,7 @@ def handleProxyList(con, proxy_li, proxy_ty, url=None):
|
|||
return proxies
|
||||
|
||||
|
||||
def main(argv):
|
||||
if __name__ == '__main__':
|
||||
with open(__dir__ / "config.json") as f:
|
||||
con = load(f)
|
||||
with suppress(KeyboardInterrupt):
|
||||
|
|
@ -1450,7 +1450,3 @@ def main(argv):
|
|||
exit()
|
||||
|
||||
ToolsConsole.usage()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(argv)
|
||||
|
|
|
|||
Loading…
Reference in New Issue