File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -329,9 +329,10 @@ def main(arg_input: Optional[list[str]] = None):
329329 system_info = get_system_info (parsed_args )
330330
331331 if parsed_args .log_path and parsed_args .subcmd not in ["gen-plugin-config" , "describe" ]:
332+ sname = system_info .name .lower ().replace ("-" , "_" ).replace ("." , "_" )
332333 log_path = os .path .join (
333334 parsed_args .log_path ,
334- f"scraper_logs_{ system_info . name } _{ datetime .datetime .now ().strftime ('%Y_%m_%d-%I_%M_%S_%p' )} " ,
335+ f"scraper_logs_{ sname } _{ datetime .datetime .now ().strftime ('%Y_%m_%d-%I_%M_%S_%p' )} " ,
335336 )
336337 os .makedirs (log_path )
337338 else :
Original file line number Diff line number Diff line change 2929
3030class ProcessCollectorArgs (CollectorArgs ):
3131 top_n_process : int = 10
32+
33+ model_config = {"extra" : "forbid" }
You can’t perform that action at this time.
0 commit comments