chore: cleanup println
This commit is contained in:
@@ -163,7 +163,6 @@ impl Module<gtk::Box> for CustomModule {
|
|||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
spawn(async move {
|
spawn(async move {
|
||||||
while let Some(event) = rx.recv().await {
|
while let Some(event) = rx.recv().await {
|
||||||
println!("{:?}", event);
|
|
||||||
if event.cmd.starts_with('!') {
|
if event.cmd.starts_with('!') {
|
||||||
debug!("executing command: '{}'", &event.cmd[1..]);
|
debug!("executing command: '{}'", &event.cmd[1..]);
|
||||||
if let Err(err) = exec_command(&event.cmd[1..]) {
|
if let Err(err) = exec_command(&event.cmd[1..]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user