Give configs access to random numbers

This commit is contained in:
Dominik Moritz Roth 2023-07-07 15:46:56 +02:00
parent 73b974458b
commit d39877b7fb

View File

@ -83,7 +83,7 @@ class Slate():
def expand_vars(self, string, **kwargs):
if isinstance(string, str):
return string.format(**kwargs)
return string.format(**kwargs, rand=int(random.random()*99999999))
return string
def apply_nested(self, d, f):