diff --git a/app/__pycache__/models.cpython-38.pyc b/app/__pycache__/models.cpython-38.pyc index 85f5562..7375b47 100644 Binary files a/app/__pycache__/models.cpython-38.pyc and b/app/__pycache__/models.cpython-38.pyc differ diff --git a/app/models.py b/app/models.py index 9a60fed..337dce0 100644 --- a/app/models.py +++ b/app/models.py @@ -257,10 +257,7 @@ class rollConfiguration(models.Model): self.r09, self.r10, ] - listSuccess = [] - listDouble = [] - listExplodingDisappearing = [] - listSubtracting = [] + listSuccess, listDouble, listExplodingDisappearing, listSubtracting = [], [], [], [] for die in listDice: if "SUCCESS" in die: listSuccess.append(die.number)