Skip to content

Commit

Permalink
logging update
Browse files Browse the repository at this point in the history
  • Loading branch information
jooleer committed May 16, 2023
1 parent 89136ed commit 90dc1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folder_hash_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def main():
# process output information
if total_time > 60:
ct = seconds_to_minutes(total_time)
print(f"Process finished in {round(ct[0])} hours, {round(ct[1])} minutes, {round(ct[2])} seconds")
print(f"\nProcess finished in {round(ct[0])} hours, {round(ct[1])} minutes, {round(ct[2])} seconds")
logging.info(f"End time: {datetime.datetime.fromtimestamp(end).strftime('%Y-%m-%d %H:%M:%S')}")
logging.info(f"[INFO]: Process finished in {round(ct[0])} hours, {round(ct[1])} minutes, {round(ct[2])} seconds")
else:
Expand Down

0 comments on commit 90dc1c0

Please sign in to comment.