summaryrefslogtreecommitdiff
path: root/AutoVideosLiveBlackWhite.py
diff options
context:
space:
mode:
Diffstat (limited to 'AutoVideosLiveBlackWhite.py')
-rw-r--r--AutoVideosLiveBlackWhite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/AutoVideosLiveBlackWhite.py b/AutoVideosLiveBlackWhite.py
index 33cf7db..1661ee1 100644
--- a/AutoVideosLiveBlackWhite.py
+++ b/AutoVideosLiveBlackWhite.py
@@ -43,7 +43,7 @@ def randFunction(length, singleweight, numberweight):
chanceend = 0
length = 1 #Number of operations done so far
while True:
- chanceend = (1.0 - (1.0 / length)) ** 12.0
+ chanceend = (1.0 - (1.0 / length)) ** (float(functionLength)/7)
if lasttype == 'n':
number = random.random()
if number < chanceend: