Removed extra debug statements.

This commit is contained in:
ClementTsang 2020-02-15 16:45:09 -05:00
parent a7594efbe0
commit 3b588f1ba9
2 changed files with 1 additions and 3 deletions

View file

@ -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;

View file

@ -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;
}