remove dupe random

This commit is contained in:
JO Jr.
2024-01-27 12:31:49 -05:00
parent cdcb12f5f1
commit 8f1a4f8032
+1 -1
View File
@@ -18,7 +18,7 @@ class RandomSize:
FUNCTION = "func"
def func(self:str):
sizes = read_config('sizes')
rand_obj = random.random.Random()
rand_obj = random.Random()
idx = rand_obj.randint(0, len(sizes))
size = sizes[idx]
x, y = [int(v) for v in size.split('x')]