Skip to content

Commit b513fb9

Browse files
author
Arjun Singh Yadav
authored
Added usage() and multiple file support
1 parent 5ce4f41 commit b513fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check_file.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def main():
4242

4343
# Read the content of each file
4444
for file in filenames:
45-
print ('[+] Reading from : ' + file) # Display Message and read the file contents
46-
readfile(file)
45+
print ('[+] Reading from : ' + filename) # Display Message and read the file contents
46+
readfile(filename)
4747

4848
if __name__ == '__main__':
4949
main()

0 commit comments

Comments
 (0)