Skip to content

Commit

Permalink
updated logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jooleer committed May 17, 2023
1 parent 30bff5b commit ad14b7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions folder_hash_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,17 @@ def main():
f1_amount = get_files_amount(primary_directory)
f2_amount = get_files_amount(secondary_directory)

logging.info("Generating hashes..")
# multithreading
logging.info("Generating hashes..")
# run without multithreading
if(args.disable):
# run without multithreading
if(args.verbose):
print(bcolors.UNDERLINE + "Running jobs without multithreading" + bcolors.ENDC)
folder1_hashes = folder_generate_hashes(primary_directory)
folder2_hashes = folder_generate_hashes(secondary_directory)

# run with multithreading
else:
# use multithreading
if(args.verbose):
print(bcolors.UNDERLINE + "Running jobs with multithreading" + bcolors.ENDC)

Expand Down

0 comments on commit ad14b7c

Please sign in to comment.