mirror of
				https://github.com/devine-dl/pywidevine.git
				synced 2025-11-04 03:44:50 +00:00 
			
		
		
		
	Have Device Flags be an empty dict if none set
This commit is contained in:
		
							parent
							
								
									0c31f88d23
								
							
						
					
					
						commit
						97ec2e1c60
					
				@ -105,7 +105,7 @@ class Device:
 | 
			
		||||
 | 
			
		||||
        self.type = self.Types[type_] if isinstance(type_, str) else type_
 | 
			
		||||
        self.security_level = security_level
 | 
			
		||||
        self.flags = flags
 | 
			
		||||
        self.flags = flags or {}
 | 
			
		||||
        self.private_key = RSA.importKey(private_key)
 | 
			
		||||
        self.client_id = ClientIdentification()
 | 
			
		||||
        try:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user