parent
							
								
									b8c7dada33
								
							
						
					
					
						commit
						5d261b0601
					
				| 
						 | 
					@ -82,7 +82,7 @@ def bytearray_to_int(bytes, bytesize):
 | 
				
			||||||
    import struct
 | 
					    import struct
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if bytesize == 1:
 | 
					    if bytesize == 1:
 | 
				
			||||||
        return ba[0]
 | 
					        return bytes[0]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Little endian followed by a format character.
 | 
					    # Little endian followed by a format character.
 | 
				
			||||||
    template = "<%c"
 | 
					    template = "<%c"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue