Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
niosus committed Aug 29, 2016
1 parent 47bc220 commit feb0308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def search(file_name, from_folder, to_folder, search_content=None):
one_past_stop_folder = path.dirname(to_folder)
while current_folder != one_past_stop_folder:
for file in listdir(current_folder):
log.info(" looking at: %s", path.join(current_folder, file))
if file == file_name:
log.info(" looking at: %s", path.join(current_folder, file))
found_file = File(path.join(current_folder, file))
log.info(" found '%s' file: %s",
file_name, found_file.full_path())
Expand Down

0 comments on commit feb0308

Please sign in to comment.