mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	fixed a rare error occuring when the cookie creation isn't successful
This commit is contained in:
		
							
								
								
									
										3
									
								
								V5.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								V5.py
									
									
									
									
									
								
							@@ -406,6 +406,9 @@ def cookie_login(ldriver):
 | 
				
			|||||||
    except FileNotFoundError :
 | 
					    except FileNotFoundError :
 | 
				
			||||||
        printf("No cookies file Found.")
 | 
					        printf("No cookies file Found.")
 | 
				
			||||||
        return(False)
 | 
					        return(False)
 | 
				
			||||||
 | 
					    except Exception as e:
 | 
				
			||||||
 | 
					        log_error(f"error performing cookies login. Trying with password instead. {str(e)}", driver)
 | 
				
			||||||
 | 
					        return(False)
 | 
				
			||||||
    try :
 | 
					    try :
 | 
				
			||||||
        ldriver.refresh()
 | 
					        ldriver.refresh()
 | 
				
			||||||
    except Exception as e:
 | 
					    except Exception as e:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user