mirror of
				https://github.com/Djeeberjr/fw-anwesenheit.git
				synced 2025-11-03 23:24:10 +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) {
 | 
			
		||||
        let day = self.get_current_day();
 | 
			
		||||
 | 
			
		||||
        println!("id: {}", id.0);
 | 
			
		||||
        day.add_id(id);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,6 @@ mod webserver;
 | 
			
		||||
 | 
			
		||||
#[tokio::main]
 | 
			
		||||
async fn main() {
 | 
			
		||||
    println!("Heeeeeeeeeeeelllllllooooooo start!");
 | 
			
		||||
    let (tx, mut rx) = mpsc::channel::<String>(1);
 | 
			
		||||
 | 
			
		||||
    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() {
 | 
			
		||||
        match line_result {
 | 
			
		||||
            Ok(line) => {
 | 
			
		||||
                println!("line: {}", line);
 | 
			
		||||
                let parse_result = super::parser::parse_line(&line);
 | 
			
		||||
                if let Some(uid) = parse_result {
 | 
			
		||||
                    println!("uid {}", uid);
 | 
			
		||||
                    match tx.send(uid).await {
 | 
			
		||||
                        Ok(()) => {}
 | 
			
		||||
                        Err(e) => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user