mirror of
				https://github.com/simon987/hexlib.git
				synced 2025-11-04 01:26:52 +00:00 
			
		
		
		
	Fix deserialization in PersistentState again
This commit is contained in:
		
							parent
							
								
									372abb0076
								
							
						
					
					
						commit
						826312115c
					
				@ -217,7 +217,7 @@ def _serialize(value):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def _deserialize(value, col_type):
 | 
					def _deserialize(value, col_type):
 | 
				
			||||||
    if col_type == "blob":
 | 
					    if col_type.lower() == "blob":
 | 
				
			||||||
        return base64.b64decode(value)
 | 
					        return base64.b64decode(value)
 | 
				
			||||||
    return value
 | 
					    return value
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.py
									
									
									
									
									
								
							@ -2,7 +2,7 @@ from setuptools import setup
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
setup(
 | 
					setup(
 | 
				
			||||||
    name="hexlib",
 | 
					    name="hexlib",
 | 
				
			||||||
    version="1.80",
 | 
					    version="1.81",
 | 
				
			||||||
    description="Misc utility methods",
 | 
					    description="Misc utility methods",
 | 
				
			||||||
    author="simon987",
 | 
					    author="simon987",
 | 
				
			||||||
    author_email="me@simon987.net",
 | 
					    author_email="me@simon987.net",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user