mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-27 06:30:19 +00:00
Removed extra debug statements.
This commit is contained in:
parent
a7594efbe0
commit
3b588f1ba9
2 changed files with 1 additions and 3 deletions
|
@ -114,7 +114,6 @@ impl DataState {
|
|||
|
||||
let current_instant = std::time::Instant::now();
|
||||
|
||||
debug!("Start....");
|
||||
self.data.cpu = cpu::get_cpu_data_list(&self.sys);
|
||||
if let Ok(process_list) = processes::get_sorted_processes_list(
|
||||
&self.sys,
|
||||
|
@ -175,7 +174,6 @@ impl DataState {
|
|||
if let Ok(temp) = temp_res {
|
||||
self.data.temperature_sensors = temp;
|
||||
}
|
||||
debug!("End....");
|
||||
|
||||
// Update time
|
||||
self.data.last_collection_time = current_instant;
|
||||
|
|
|
@ -587,7 +587,7 @@ fn get_default_widget(matches: &clap::ArgMatches<'static>, config: &Config) -> a
|
|||
return app::WidgetPosition::Process;
|
||||
} else if let Some(flags) = &config.flags {
|
||||
if let Some(default_widget) = &flags.default_widget {
|
||||
match default_widget.to_lowercase().as_str() {
|
||||
match default_widget.as_str() {
|
||||
"cpu_default" => {
|
||||
return app::WidgetPosition::Cpu;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue