Fixed bug introduce in logger due to invalid date naming replace : with -
This commit is contained in:
@ -240,7 +240,7 @@ def copy_directory_with_contraints(input_dir_path, output_dir_path,
|
||||
select_file_keywords = select_file_keywords or []
|
||||
allowed_file_extensions = allowed_file_extensions or []
|
||||
|
||||
date = created_at()
|
||||
date = created_at().replace(":", "-")
|
||||
log_dir='logs/'
|
||||
setup_logging(log_dir, f"copy_directory_with_contraints_{date}.log")
|
||||
|
||||
|
Reference in New Issue
Block a user