DEV Community

Discussion on: How to create a command-line utility using Python

Collapse
 
n_michael_168ce3daacda46c profile image
N Michael

the if statement:

if filesFound == 0: # Check if no files matched the given keyword and print the same
print("No matching files in the given directory! Try another directory!")

is indented too far, its impossible to reach it