| skipped 249 lines |
250 | 250 | | .unwrap() |
251 | 251 | | }); |
252 | 252 | | |
| 253 | + | println!(""); |
| 254 | + | |
253 | 255 | | loop { |
254 | 256 | | if let Some(poll_payload) = &varialble_payload { |
255 | 257 | | client.send_message(&Message::text(poll_payload)).unwrap(); |
| skipped 3 lines |
259 | 261 | | let result: protocol::responses::ResultMessage = |
260 | 262 | | serde_json::from_str(&data).unwrap(); |
261 | 263 | | if let Some(ref poll_command) = args.poll_command { |
262 | | - | println!("passing variable value to {} ...", poll_command); |
| 264 | + | // println!("passing variable value to {} ...", poll_command); |
263 | 265 | | Command::new(poll_command) |
264 | 266 | | .arg(&result.result.result.value.unwrap_or("".to_owned())) |
265 | 267 | | .spawn() |
| skipped 17 lines |