Skip to content

Commit 45e9304

Browse files
author
csrgxtu
committed
Merge branch 'mayenjoy-master'
well, seems this script wont work on windows
2 parents 30224de + 747b881 commit 45e9304

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def run(self):
4343

4444
for p in processes:
4545
p.join()
46-
47-
m = main('../data/ips.txt', '../data/ipsok.txt')
48-
m.run()
46+
47+
if __name__ == '__main__':
48+
m = main('../data/ips.txt', '../data/ipsok.txt')
49+
m.run()

0 commit comments

Comments
 (0)