Skip to content

Commit

Permalink
Merge pull request #161 from jaiongit/issue-150-master
Browse files Browse the repository at this point in the history
Fix Bad Magic Number Error by not generating Bytecodes
.pyc file auto generation blocked.
  • Loading branch information
Kashish121 authored Mar 16, 2021
2 parents ee51ffc + f5375f2 commit e7547c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/ipscanner.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys; sys.dont_write_bytecode = True
import socket
from datetime import datetime
import json
Expand Down
2 changes: 1 addition & 1 deletion src/mainScanner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys; sys.dont_write_bytecode = True
import socket
import subprocess
import sys
from datetime import datetime
import json
import os
Expand Down
2 changes: 1 addition & 1 deletion src/scanner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys; sys.dont_write_bytecode = True
import socket
import subprocess
import sys
from datetime import datetime
import json
import os
Expand Down
2 changes: 1 addition & 1 deletion src/single/scanner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys; sys.dont_write_bytecode = True
import socket
import subprocess
import sys
from datetime import datetime

# Clear the screen
Expand Down

0 comments on commit e7547c8

Please sign in to comment.