mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 15:43:53 +01:00 
			
		
		
		
	oui
This commit is contained in:
		
							
								
								
									
										12
									
								
								V4.py
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								V4.py
									
									
									
									
									
								
							@@ -83,9 +83,7 @@ webhookSuccess = Webhook.from_url(SuccessLink, adapter=RequestsWebhookAdapter())
 | 
			
		||||
webhookFailure = Webhook.from_url(ErrorLink, adapter=RequestsWebhookAdapter())
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def resource_path(
 | 
			
		||||
    relative_path
 | 
			
		||||
):  # permet de recuperer l'emplacement de chaque fichier, sur linux et windows
 | 
			
		||||
def resource_path(relative_path):  # permet de recuperer l'emplacement de chaque fichier, sur linux et windows
 | 
			
		||||
    try:
 | 
			
		||||
        base_path = sys._MEIPASS
 | 
			
		||||
    except Exception:
 | 
			
		||||
@@ -120,15 +118,13 @@ def FirefoxPC(Headless=Headless):
 | 
			
		||||
    return webdriver.Firefox(options=options)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def printf(txt, end="", Mobdriver=driver):
 | 
			
		||||
    if Log:
 | 
			
		||||
        Timer(txt)
 | 
			
		||||
    if FullLog and Mobdriver:
 | 
			
		||||
    elif FullLog and Mobdriver:
 | 
			
		||||
        LogError(txt, Mobdriver=Mobdriver)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    else :
 | 
			
		||||
        print(txt, Mobdriver)
 | 
			
		||||
def CustomSleep(temps):
 | 
			
		||||
    if Log or not IsLinux:
 | 
			
		||||
        c = False
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user