removed srand

This commit is contained in:
Dominik Moritz Roth 2023-07-09 16:18:47 +02:00
parent b0a8421155
commit 7bc7f319d8

View File

@ -90,7 +90,7 @@ class Slate():
if isinstance(string, str):
if string == '{rand}':
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
def apply_nested(self, d, f):