mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2025-07-05 02:14:17 +00:00
removed some debug lines
This commit is contained in:
parent
6292f0c444
commit
a45cab0b4b
@ -34,7 +34,6 @@ impl IDStore {
|
|||||||
pub fn add_id(&mut self, id: TallyID) {
|
pub fn add_id(&mut self, id: TallyID) {
|
||||||
let day = self.get_current_day();
|
let day = self.get_current_day();
|
||||||
|
|
||||||
println!("id: {}", id.0);
|
|
||||||
day.add_id(id);
|
day.add_id(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@ mod webserver;
|
|||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
println!("Heeeeeeeeeeeelllllllooooooo start!");
|
|
||||||
let (tx, mut rx) = mpsc::channel::<String>(1);
|
let (tx, mut rx) = mpsc::channel::<String>(1);
|
||||||
|
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
|
@ -29,10 +29,8 @@ pub async fn run_pm3(tx: mpsc::Sender<String>) -> Result<(), Box<dyn Error>> {
|
|||||||
for line_result in reader.lines() {
|
for line_result in reader.lines() {
|
||||||
match line_result {
|
match line_result {
|
||||||
Ok(line) => {
|
Ok(line) => {
|
||||||
println!("line: {}", line);
|
|
||||||
let parse_result = super::parser::parse_line(&line);
|
let parse_result = super::parser::parse_line(&line);
|
||||||
if let Some(uid) = parse_result {
|
if let Some(uid) = parse_result {
|
||||||
println!("uid {}", uid);
|
|
||||||
match tx.send(uid).await {
|
match tx.send(uid).await {
|
||||||
Ok(()) => {}
|
Ok(()) => {}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user