removed srand
This commit is contained in:
		
							parent
							
								
									b0a8421155
								
							
						
					
					
						commit
						7bc7f319d8
					
				@ -90,7 +90,7 @@ class Slate():
 | 
				
			|||||||
        if isinstance(string, str):
 | 
					        if isinstance(string, str):
 | 
				
			||||||
            if string == '{rand}':
 | 
					            if string == '{rand}':
 | 
				
			||||||
                return int(random.random()*99999999)
 | 
					                return int(random.random()*99999999)
 | 
				
			||||||
            return string.format(**kwargs, rand=int(random.random()*99999999), srand=srand)
 | 
					            return string.format(**kwargs, rand=int(random.random()*99999999))
 | 
				
			||||||
        return string
 | 
					        return string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def apply_nested(self, d, f):
 | 
					    def apply_nested(self, d, f):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user